大约有 2,741 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0052 秒)
Laya_社区(1926) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
... sk.destroy(true) sk = null; Laya.loader.clearRes("res/sk/cow.sk"); Laya.loader.clearRes("res/sk/cow.png"); Laya.timer.once(1000,this,function(){ ...
来源: Laya_社区 发布时间: 20180828
...", "#ff0000", "center"); Tween.to(mLabelSprite, { y:mStartY - 200 }, 1000, null,Handler.create(this,playEnd)) if(tEventData.name=="'fall'") { trace('fall'); } else if(tEventData.name=="'jump'") { trace('jump'); } else if(tEventData.name=="'stand'") { trace('stand'); } else if(tEventData.name=="'walk...
来源: Laya_社区 发布时间: 20170406
...ield asyncs.downloadSync[/b](location.fullpath + '/font/simhei.ttf', true, null)); if (!data) { data = ([b]yield asyncs.downloadSync[/b]('http://runtime.layabox.com/font/simhei.ttf', true, null)); } if (!data) { alert('>>>download ttf error '); return; } fs_writeFileSync(sTempFontPath, data...
来源: Laya_社区 发布时间: 20170320
...ageLoaded); let texture: Texture2D = new Texture2D(); texture.onAsynLoaded(null, image, ); //接下来就可以把贴图对象赋值给材质了 }; image.addEventListener("load", onImageLoaded); image.src = base64; 2018-05-19 1 1 分享 微博 QZONE 微信 一点一滴 赞同来自: 用ES6语法要...
来源: Laya_社区 发布时间: 20180518
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 播放声音出错,求指教 HttpRequest感觉没有发成功 微信小游戏上线了,但凑不够需要的用户量咋办,有人...
来源: Laya_社区 发布时间: 20180130
.../ public function loadImage(url:String, complete:Handler = null):Sprite 2.0接口改了,还有你的sprite 没有指定类型。 2018-10-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ohkei as3、as2、h5 相关...
来源: Laya_社区 发布时间: 20181010
...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2017-09-22 14:34 浏览: 941 关注: 2 人
来源: Laya_社区 发布时间: 20170922
...loader.load(this._proto_files,Laya.Handler.create(this,this.OnProtoLoaded),null, Laya.Loader.TEXT); 打包的时候在release/web下面有了protos/loginxxxxxxxx.proto这样的文件 然后运行的时候,报了这样的错 GET http://xxxxxxxx.com/newgame/pr ... proto 404 (Not Found) 其...
来源: Laya_社区 发布时间: 20180319
...ader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } onLoaded(){ console.info("onLoaded"); this.tiledMap = new Laya.TiledMap(); this.tiledMap.createMap("desert.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Laya.H...
来源: Laya_社区 发布时间: 20171125
...Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) })(); function onLoaded(){ //实例化 var tempBG=new background(); Laya.stage.addChild(tempBG); } })();在background.js里是这样写的 var background = (function (_super) { function background() { ...
来源: Laya_社区 发布时间: 20180129