大约有 622 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)
...解决了,供参考: Laya.loader.load(chapterBG, Laya.Handler.create(this, this.onBGLoaded, [chapterBG])/* , Laya.Handler.create(this, this.onBGLoadProgress) */); 第三个参数打开在某些条件下会出t._addReference is not a function 可能是加载进度回调的时候跑到纹理回调...
来源: Laya_社区 发布时间: 20180423
官方视频教程中飞机大战 "this.addChild is not a function" IDE Layabox1.7.20.2 beta 版 src/Game.js//var WebGL = laya.webgl.WebGL; //Laya.init(480, 852, WebGL); var Game = (function(){ (function Game(){ Laya.init(480,852); this.bg = BackGround(); Laya.stage.addChild(this.bg); })(); })(); s...
来源: Laya_社区 发布时间: 20181003
打地鼠发布成微信小游戏后提示gameThirdScriptError this.preinitialize is not a function gameThirdScriptError this.preinitialize is not a function TypeError: this.preinitialize is not a function 2018-08-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180828
发布微信小游戏后 this.preinitialize is not a function 在IDE里调试,一切正常,发布到微信小游戏后,报错this.preinitialize is not a function 2019-01-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190109
排行榜渲染时,提示 this.bitmap.activeResource is not a function。 渲染排行榜时,报this.bitmap.activeResource is not a function 的提示。然后开放域的数据在主域中是能正常拿到的,就是渲染不出来。请问哪位大神知道这是什么原因呢?有没有...
来源: Laya_社区 发布时间: 20191104
[Error] TypeError: null is not an object (evaluating 'this._style._tf') 请问这个怎么解决? Safari , Chrome 同样有这个问题 [Error] TypeError: null is not an object (evaluating 'this._style._tf') (anonymous function) (laya.core.js:16463) toParentPoint (laya.core.js:15797) localToGlo...
来源: Laya_社区 发布时间: 20181020
...自: Game.jsvar Game = (function(){ (function Game(){ Laya.init(600,800); this.bg = new window.Background(); Laya.stage.addChild(this.bg); })(); })();Background.js var Background = (function(_super){ function Background(){ Background.super(this); this.bg1 = new Laya.Sprite(); this.bg1.loadImage("res...
来源: Laya_社区 发布时间: 20170420
...每次获取组件带来不必要的性能开销 thi s._loveControl = this.getComponent(LoveControl); //点击提示文字,开始游戏 this.label_start.on(Laya.Event.CLICK, this, this.onTipClick); //this._loveControl.startGame(); //点击重置按钮,重新开始 this.button_reset.on(Lay...
来源: Laya_社区 发布时间: 20190704
alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] mac系统 laya 2.2.0 打包到xcode,build没有问题,真机和模拟器调试报错 alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"]at line 102...
来源: Laya_社区 发布时间: 20191226
...is not counstructer 代码如下: //创建TiledMap实例 this._tMap = new TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); console.log(this._tMap); //创建T...
来源: Laya_社区 发布时间: 20200815