cocos2d-x wp8 竖屏设置

wp8项目

在项目同名CPP文件,SetWindow方法

DisplayProperties::AutoRotationPreferences = DisplayOrientations::Portrait;

wp8-xaml项目

设置c#项目MainPage.xaml,SupportedOrientations="Portrait", Orientation="Portait"

C++项目,调用Cocos2dRenderer.cpp的OnOrientationChanged方法,设置竖屏

posted on 2014-10-09 10:43  Moon Bear  阅读(230)  评论(1编辑  收藏  举报

导航