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

大约有 97 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

11. sprite.loadImage神奇的事情。 [ 88%]

sprite.loadImage神奇的事情。 alert('start load ' + playerInfo.head_url); this.player_head.loadImage(playerInfo.head_url,0,0,playerHeadWH,playerHeadWH,Handler.create(this,function(){ alert('load done'); }) 在微信iphone 6plus里,死活不进这个回调。 在PC浏览器里调试没有任...

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

12. MovieClip 报错 [ 87%]

...(!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_at...

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

13. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 87%]

...见了 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. Laya mac版的IDE 是没测试就上线了吗? 骨骼动画播放完后的回调时间 ide 2.4 layaair2-cmd 编译报错 1.7.15 小游戏3d 发布后在手机预览显示异常 用Mac下Unity5.6.2f1导出的模型在Ma...

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

14. 用Loader加载完atlas,然后使用animation播放问题 [ 87%]

...mask? 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. IDE1.7.8 json图集加载问题 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 骨骼动画播放完后的回调时间 关于使用matterjs物理引擎鼠标问题 播放背景音乐的问...

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

15. MovieClip 报错 [ 87%]

...(!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_at...

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

16. 求助。资源加载问题,按照官方demo出现问题 [ 86%]

...问题 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 问题状态 最新活动: 2020-03-13 10:47 浏览: 442 关注: 1 人

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

17. 我来改代码! [ 86%]

...(!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_at...

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

18. MovieClip 报错 7 [ 86%]

...(!data) { event(Event.ERROR,"file not find"); return; } //保护修改-----start------------------ var atlasData:Object = Loader.getAtlas(_atlasPath); if(!atlasData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_at...

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

19. 微信小游戏图片加载不出来 [ 85%]

微信小游戏图片加载不出来 var resArray = [{ url: "ui/BG/Start.png", type: Laya.Loader.IMAGE }, { url: "ui/BG/load.png", type: Laya.Loader.IMAGE }, { url: "res/atlas/comp.atlas", type: Laya.Loader.ATLAS }, { url: "res/atlas/ui.atlas", type: Laya.Loader.ATLAS }, ]; Laya.loader.load(resArra...

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

20. 新手!谁懂得把下面两个文件转成layaair可以运行的代码 [ 85%]

...   debug_txt.defaultTextFormat = tf;             debug_txt.text = "start...";             stage.addChild(debug_txt);               if (ExternalInterface.available)             {                 var params:String = ExternalInterface.call("getParams");           ...

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