axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
868 stars 195 forks source link

Windows Universal Platform (UWP) Support? #232

Closed Obg1 closed 1 year ago

Obg1 commented 3 years ago

Can you add Windows Universal Platform (UWP)? It was available on older Cocos2d-x 3 versions

halx99 commented 3 years ago

Yes, we have plan to support UWP: https://github.com/axmolengine/axmol/projects/2

aismann commented 3 years ago

Usefull for Xbox One/X Platform.

Obg1 commented 3 years ago

Yes and also Windoes store. In the past Cocos2dx support uwp, I think it had support in version 3.15

aismann commented 3 years ago

Maybe this is helping to convert/add UWP to adxe: https://github.com/Microsoft/DesktopBridgeToUWP-Samples Desktop Conversion Extensions is a bridge that enables you to convert your classic desktop application (like Win32, Windows Forms, and WPF) or game to a Universal Windows Platform (UWP) app or game.

Cybertwip commented 2 years ago

It works for Desktop applications, Xbox still requires the full implementation

appakabar commented 2 years ago

I confirm, winRT support that allows to produce UWP format was available in 3.15 and is easy to copy/paste for support in 3.17.

Cybertwip commented 2 years ago

There is a problem with the audio player as of 3.17, but taking advantage of the unified OpenAL the project has, it might be easier to debug caching problems. There is also no gamepad support.

Cybertwip commented 2 years ago

I will share you my cocos2d-x 4.0 UWP port, and start working on a fork, I just don't have a few prebuilt libraries from the dependencies/thirdparty folder, it's stuck at the linking phase, I think I have the lua thing built already

Cybertwip commented 2 years ago

This one is it:

https://github.com/Greentwip/time-trio

UWP Port of 4.0 version.

Problem is some libraries need to be compiled from source, I've already compiled angle, lua, openssl I guess? But bullet, and some other need their precomps. I'll try to follow up with the adxe structure, right now I don't know how to disable glfw and purely add the missing UWP files using OpenGL.

Cybertwip commented 2 years ago

Not probably UWP (I'm almost done with the port) but you can try this Xbox port I've finished compiling, you'll just need the open Microsoft GDK (or sign up for the internal Microsoft GDK):

https://github.com/balancedwolf/adxe

See: CMakeGDKXboxOne.cmake and CMakeLists.txt from the time-trio repo to build your game.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

aismann commented 2 years ago

@hal99, Hope this is still active and part of axys 1.1

aismann commented 1 year ago

@halx99 please add labels: pinned help wanted

aismann commented 1 year ago

Maybe helpful: https://github.com/Greentwip/cocos2d-x XBOX one port https://github.com/jjinglover/Cocos2d-x-3.17.2_uwp https://github.com/chadwyk/cocos2d-x_v3.17.1_UWP_Templates https://github.com/chengcong/cocos2d-xna https://github.com/mediaexplorer74/cocos2d-mono.Uwp https://github.com/aodota/UWPLuaGame

halx99 commented 1 year ago

axmol UWP screenshot:

image

aismann commented 1 year ago

Time to clean my XBOX One ;)