axmol icon indicating copy to clipboard operation
axmol copied to clipboard

Windows Universal Platform (UWP) Support?

Open Obg1 opened this issue 4 years ago • 12 comments

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

Obg1 avatar Oct 13 '20 20:10 Obg1

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

halx99 avatar Nov 09 '20 02:11 halx99

Usefull for Xbox One/X Platform.

aismann avatar Dec 31 '20 06:12 aismann

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

Obg1 avatar Dec 31 '20 08:12 Obg1

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.

aismann avatar Sep 16 '21 06:09 aismann

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

Cybertwip avatar Apr 10 '22 13:04 Cybertwip

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.

appakabar avatar Apr 11 '22 13:04 appakabar

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 avatar Apr 12 '22 11:04 Cybertwip

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 avatar Apr 12 '22 11:04 Cybertwip

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 avatar Apr 12 '22 19:04 Cybertwip

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.

Cybertwip avatar Apr 13 '22 12:04 Cybertwip

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.

stale[bot] avatar Sep 19 '22 11:09 stale[bot]

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

aismann avatar Sep 19 '22 11:09 aismann

@halx99 please add labels: pinned help wanted

aismann avatar Oct 04 '22 04:10 aismann

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

aismann avatar Oct 04 '22 14:10 aismann

axmol UWP screenshot:

image

halx99 avatar Mar 07 '23 10:03 halx99

Time to clean my XBOX One ;)

aismann avatar Mar 07 '23 10:03 aismann