横屏小游戏白屏loading切后台回来后显示异常

小游戏 文章 2022-02-11 11:20 362 0 全屏看文

AI助手支持GPT4.0

横屏小游戏白屏loading切后台回来后显示异常The horizontal screen small game is displayed abnormally after white screen loading and cutting back to the background

横屏小游戏白屏loading切后台回来后显示异常
游戏引擎 AppID 操作系统 微信版本 基础库版本
cocoscreator wx2f7f8729963e8b95 Android 8.0.3 2.22.0

横屏游戏在点击小程序icon的时候第一时间是竖屏loding然后立刻旋转为横屏,在竖屏的那一段时间内切后台,再回来就会显示异常如下。

不只是我们的产品有问题,试了一下市面上的横屏产品如欢乐斗地主等都是这样。

打印日志看wx.getSystemInfoSync();

获取到的screenWidth和screenHeight是竖屏时的值,是否这种操作影响到了渲染?

Game engine appid operating system wechat version basic library version cocoscrreator wx2f7f8729963e8b95 Android 8.0.3 2.22.0 horizontal screen game when clicking the applet icon, the first time is the vertical screen falling, and then immediately rotates to the horizontal screen. During the period of vertical screen, cut to the background, and then come back, the exception will be displayed as follows. It's not just our products that have problems. I tried the horizontal screen products on the market, such as happy landlords. Print log and see Wx getSystemInfoSync(); The obtained screenwidth and screenheight are the values of vertical screen. Does this operation affect rendering?

回答:

小游戏运营专员 - 宏:

可以先在Cocos社区反馈下看看

姓曾:X
老何:为什么不要

-EOF-

AI助手支持GPT4.0