大约有 518 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
... delete Loader.loadedMap[i]; console.log("--------clearscene---delete:",i); } } 此时已经可以得到要的效果了,,,,,,, 附件 : --> 2017-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170113
... this; this.tl.on(this.Event.COMPLETE,this,function(){ _this.tl.stop(); }) console.log(this.tl) this.tl.interval = 1000 / 60; // this.tl.play(); apesCtn.addChild(this.tl); apesCtn.height = 1500; apesCtn.width = 3248; this.tl.pivot(-1624,-750); }, 2019-01-17 添加评论 免费帖 --> 分享 微博 Q...
来源: Laya_社区 发布时间: 20190117
... 2017-07-20 10:17 浏览: 1250 关注: 2 人 peterz3g • 2017-07-20 10:22 console.log("----",this.body.getBounds(reference)); "Cannot read property 'getBounds' of undefined" getBounds怎么用? peterz3g • 2017-07-20 10:28 getBounds的结果和之前一样,都是0. Rectangl...
来源: Laya_社区 发布时间: 20170720
... context.fillStyle = "#FF0000"; context.fillRect(10,10,100,100); console.log(Laya.Render.isWebGL); 这是完整代码 翁铃杰 • 2018-08-22 16:14 @137*****130:Canvas怎么用的,我复制了您的代码显示还是一片黑色。 137*****130 • 2018-08-03 18:06 那我有办法自己...
来源: Laya_社区 发布时间: 20180803
...n = function () { this.speed = 1; Laya.timer.frameLoop(1, this, () => { console.log(this.obstacle0.y, Laya.Browser.height); //this.obstacle0是一个精灵对象 this.obstacle0.y += this.speed; if (this.obstacle0.y > Laya.Browser.height) { this.obstacle0.removeSelf(); } }); } 2018-08-23 添加...
来源: Laya_社区 发布时间: 20180823
...] if (json.type!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } } var innerResouMap=data[1]; Utils3D._createNodeByJson(this,jso...
来源: Laya_社区 发布时间: 20180101
...ber = -1; public pageWidth: number; public pageHeight: number; onStart() { console.log("Game start"); Laya.loader.load("resources/res/spineboy-pma.skel", Loader.SPINE).then((templet: SpineTemplet) => { this.skeleton = new SpineSkeleton(); this.skeleton.templet = templet; this.owner.addChild(this....
来源: Laya_社区 发布时间: 20230703
... 内容是没有错误 url也是对的window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); alert("加载游戏失败,可能由于您的网络不稳定,请退出重进"); } 附件 : --> 2024-04-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20240401
...",0,0,200,200,new Laya.Handler(this,onloadImage)); function onloadImage(){ console.log('图片加载结束'); Laya.stage.addChild(fireIcon); } 资源的结构为: |-.laya |-bin |-laya |-assets |-res |-image |-fireIcon.png |-libs |-src 2018-06-19 添加评论 免费...
来源: Laya_社区 发布时间: 20180619
...= new Laya.MapLayer(); var aaa = MapLayer.getTileDataByScreenPos(322,222); console.log(aaa);
来源: Laya_社区 发布时间: 20180118