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

小游戏 文章 2022-02-11 11:20 364 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


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
微信小游戏使用wx.addCard()领取卡券功能,报errMsg: "addCard:fail?
为什么开发平台已经绑定了小程序还是无法获取unionid
.NET 请求单次分账后台是如何实现的,有哪位做过的给点思路,官方文档如何解决?
【企业微信外部联系人,是否可以通过接口获取外部联系人的微信和手机号码】
关于视频广告的疑问
随便看看
微信公众号免300认证教程 4970
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4088
小程序广告组件通过审核,但是小程序内没有显示广告? 4268
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8048
问题? 7274
如何快速搭建抽奖助手小程序(无需代码知识) 5057
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6012
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5525
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5220
如何解决渲染层网络错误Failed to load media? 16570