Version cocos2d-x-3.5
Visual Studio 2013
proj.win8.1-universal
I am using the WindowsPhone project to run my app in the Windows Phone Simulator
Hovewer
CC_PLATFORM_WP8
is not defined
but
CC_PLATFORM_WINRT
is instead ?
Version cocos2d-x-3.5
Visual Studio 2013
proj.win8.1-universal
I am using the WindowsPhone project to run my app in the Windows Phone Simulator
Hovewer
CC_PLATFORM_WP8
is not defined
but
CC_PLATFORM_WINRT
is instead ?
IFAIK, CC_PLATFORM_WINRT is Universal Windows App (Windows 8.1 and WP8.1). CC_PLATFORM_WP8 is for win8.0 project only.
If you are using proj.win8.1-universal, you should use CC_PLATFORM_WINRT.
I seeā¦
Is there any way to find out if we are running the code in the Windows Phone or in Windows 8.1 ?
I want to size the screen and assets differently for each one.
Thanks
From cocos i really not sure if its possible, but from Windows App you can use macros:
//Windows Phone 8.1