cocos2d-x wp8 竖屏设置
wp8项目
在项目同名CPP文件,SetWindow方法
DisplayProperties::AutoRotationPreferences = DisplayOrientations::Portrait;
wp8-xaml项目
设置c#项目MainPage.xaml,SupportedOrientations="Portrait", Orientation="Portait"
C++项目,调用Cocos2dRenderer.cpp的OnOrientationChanged方法,设置竖屏
浙公网安备 33010602011771号