Android研究院之游戏开发之进度条加载(六)源码
因为Android开发反正屏的切换会给游戏开发形成十分费事的办公所以在游戏的制作当中会强制手机屏幕横屏或许竖屏预防反正屏切换形成的数据重置即便让程序不在切换屏暗地调用onCreat()方法也会带来屏幕自适应的费事所以Android的游戏一般都会强制横屏或许强制竖屏。(Because the switching of the reverse screen in Android development will cause a lot of trouble for game development, so in the process of game production, the mobile phone screen will be forced to be horizontal or vertical to prevent data reset caused by reverse screen switching. Even if the program does not secretly call onCreat() on the switch screen, it will also cause trouble for screen adaptation. Therefore, Android games generally force horizontal or vertical screens.)
页:
[1]