大约有 243 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...ublic class ZeroWXAdpter { static public function init():void { MiniAdpter.window.wx.onShow(onShow); MiniAdpter.window.wx.onHide(onHide); } static private function onShow(res):void { console.warn("小游戏回到前台", res); } static private function onHide():void { console.warn("小游戏隐藏...
来源: Laya_社区 发布时间: 20180726
....js修改方法: 如果报错找不到`swan`,改为使用`BMiniAdapter.window.swan`调用。参考`laya.wxmini.js`,增加`onReciveData`函数,同时将漏了的对`ziyuFileData`和`ziyuFileTextureData`的处理补上。如果开放域未使用图集,都是用的单张图片,可以不用...
来源: Laya_社区 发布时间: 20190606
...就会报这个错 object has in SimpleSingletonList 真机环境找不到window---cant find variable: window stack 关于同为object层,层级设置无效的问题 运行报错 Uncaught Can not find scene:GameView.scene undefined LayaNative2.2运行报错。:getBitmapData Cannot find the specifi...
来源: Laya_社区 发布时间: 20180410
...研究qq小游戏,但是很快就遇到坑了,qq小游戏工具beta版Windows x64 Ver 0.1.29-beta.55这个版本分包加载没反,不知道该怎么办了,上传一个demo,可以在qq小游戏工具直接运行测试,麻烦帮忙看看!谢谢了!! 附件 : --> qqgame.rar 2020-02-2...
来源: Laya_社区 发布时间: 20200228
...create({ images: [{ src: "resources/bg/" + window.gamebgUrl, }], scaleMode: "FIXED_HEIGHT", contextType: 'webgl', contextAttributes: {alpha: false}, }).then(() => { }).catch((err) => { ...
来源: Laya_社区 发布时间: 20241010
...qian 赞同来自: require("weapp-adapter.js"); require("./bytebuffer.js") window.ProtoBuf = require("./protobuf.js") require("./code.js"); game.js 里面这样引入试试。 2018-03-13 0 1 分享 微博 QZONE 微信 xiongxin11 赞同来自: 这样改了。但是报另外的错误module "bytebuffer...
来源: Laya_社区 发布时间: 20180313
... define([], e); // else { var f; "undefined" != typeof window ? f = window : "undefined" != typeof global ? f = global : "undefined" != typeof self && (f = self), f.CANNON = e() // } } 2018-11-01 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...
来源: Laya_社区 发布时间: 20180731
...读过Laya2.7中的框架源码,那么可以发现在这个版本中,window上面不会挂载小写laya命名空间,而只会挂载大写Laya的命名空间,故访问小写laya命名空间时会报错“laya is not defined”。 //laya.core.js源码,可以看到只在window上挂载了大...
来源: Laya_社区 发布时间: 20200809
...lt;script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145/bgame/in ... 3B%3B // http://119.29.138.145/bgameClient/index.html(游戏地址 体验服) // http://119.29.138.145/bgame/index.html(游戏地址 正式服) var iframe ...
来源: Laya_社区 发布时间: 20161221
...putImageData方法,为什么没有getImageData方法呢? var image: any = window.document.createElement("img"); image.putImageData(arrayBuff, width, height); var dd = image.imageData(0, 0, 1080, 1080); 2017-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20170814