• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 418 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)

191. 发布flash版本的问题 [ 67%]

...,报的错是“ Function/laya.display:Animation/loadAtlas/laya.display:onLoaded() 的参数数量不匹配。应该有 1 个,当前为 2 个。”,我把Animation类里的function onLoaded(loadUrl:String)的参数多加一个就正常了,这个问题不知道算不算个bug algic • 2016-0...

来源: Laya_社区 发布时间: 20160904

192. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 67%]

...出来,点重新开始,才出来,新手求助! 代码如下,在 onLoaded 里注册的开始游戏按钮事件,点击 执行gameInit添加hero,这时候界面没有东西;当三秒后游戏结束,点重新开始,飞机才出来 function onLoaded() { start = new GameStartUI(); start....

来源: Laya_社区 发布时间: 20180911

193. Laya ide 1.83 导出apk 加载场景失败 [ 67%]

...libs/laya.d3.js:37456:8) 05-18 09:55:36.987: I/0(27649):     at ResInfo.onLoaded (http://stand.alone.version/lib ... 189:61) 05-18 09:55:36.987: I/0(27649):     at EventHandler.__proto.runWith (http://stand.alone.version/libs/laya.core.js:726:27) 05-18 09:55:36.987: I/0(27649):     at ResIn...

来源: Laya_社区 发布时间: 20190518

194. 请问UI之间的场景切换要怎么写 [ 66%]

...zontal"; Laya.loader.load("res/atlas/sanguo.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); function onLoaded(){ Laya.sg_sign = new sg_sign(); Laya.stage.addChild(Laya.sg_sign); } function onWxSign1(){ Laya.sg_sign.removeSelf(); Laya.Pool.recover("sg_sign",Laya.sg_sign); Laya.sg_in...

来源: Laya_社区 发布时间: 20170725

195. meshRender修改材质问题 [ 66%]

...//E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:697:26) at ResInfo.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12723:28) at EventHandler.__proto.runWith (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:713:27) at ResInfo.__proto.event (file:///E:/Lay...

来源: Laya_社区 发布时间: 20171226

196. 关于多个小动画打包到一个图集动画的问题 [ 66%]

... Laya.loader.load("res/atlas/hero.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS) //先把四张小图拿出来 var hero_down1=Laya.loader.getRes("hero/hero_down1.jpg"); var hero_down2=Laya.loader.getRes("hero/hero_down2.jpg"); var hero_down3=Laya.loade...

来源: Laya_社区 发布时间: 20170330

197. 最新版LayaAir IDE 2.2.0beta4的几个问题 [ 66%]

...d property 'enable' of undefined preload.js:55 at HTMLScriptElement.script.onload (file:///E:/Laya/QPlane2/bin/libs/laya.core.js:22147:39) TypeError: Cannot read property 'enable' of undefined laya.core.js:22147 at HTMLScriptElement.script.onload (file:///E:/Laya/QPlane2/bin/libs/laya.core.js:22147:...

来源: Laya_社区 发布时间: 20190821

198. 使用laya官方示例代码制作微信小游戏无法显示 [ 66%]

...beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 new laya.UI_Label(); }   上图为在layaIDE中的显示效果。   不知道具体是什么原因,希望得到大家的指点。谢谢   操作系统:MacOS La...

来源: Laya_社区 发布时间: 20180529

199. js飞机大战报错 请大神看看 [ 66%]

...:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/GameInfo.js:12:22)     at onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/src/Game.js:44:25)     at EventHandler.__proto.runWith (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:688:60)     at ResInfo.__prot...

来源: Laya_社区 发布时间: 20171118

200. 提示资源重复加载 [ 66%]

...impoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(this,this.onLoaded));   } private onLoaded():void{   Laya.Animation.createFrames([swimpoorpath01,swimpoorpath02],"swimpoolani"); Laya.stage.addChild(this.swimpoolani); this.swimpoolani.play(0,true,"swimpoolani"); this.swimpoolani.int...

来源: Laya_社区 发布时间: 20190805