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

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

11. layabox加载fairygui发布的二进制文件报错 [ 86%]

...游戏加载不了,路径没问题,麻烦看下   加载代码 Laya.loader.load([             { url:"res/Bag_atlas0.png", type:Laya.Loader.IMAGE },             { url:"res/Bag_atlas0_1.png", type:Laya.Loader.IMAGE},             { url:"res/Bag.json", type:Laya.Loader.BUFFER}  ...

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

12. 1.7.17beta,微信小游戏预览加载问题 [ 85%]

...时发现资源无法加载。 测试代码为: var scene = Laya.Scene.load("res/testScene.ls"); Laya.stage.addChild(scene); 真机预览报错为: request:fail invalid url "res/testScene.ls" 测试机型为:iPhoneX 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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

13. load 粒子的时候永远出错 [ 84%]

load 粒子的时候永远出错 永远报这个错误:Warning!,this class[MiniAdpter] already exist: Object {} [warn]Retry to load: res/rotate.part [error]Failed to load: res/rotate.part   我的代码:   Laya.loader.load("res/rotate.part", Handler.create(this, this.onAssetsLoaded),null,Laya...

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

14. 微信小游戏设置网络动态加载无法显示 [ 84%]

...3B%3B var asset = []; asset.push({ url : "res/atlas/game.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "res/atlas/bubbles.atlas", type:Laya.Loader.ATLAS }); asset.push({ url : "game/bgGame.png", type:Laya.Loader.IMAGE });  Laya.loader.load(asset,Laya.Handler.create(this,loadingCallback),nul...

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

15. Cannot read property 'load' of null [ 83%]

LayaAir引擎 Cannot read property 'load' of null 查了断点,看到Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static...

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

16. 无法正常运行官网中的示例代码 [ 82%]

...:http://ldc.layabox.com/index.p ... 3D622 控制台报错: Failed to load resource: net::ERR_FILE_NOT_FOUND [warn]Retry to load: D:/demo/bin/res/atlas/comp.json Failed to load resource: net::ERR_FILE_NOT_FOUND [error]Failed to load: D:/demo/bin/res/atlas/comp.json 2017-03-28 添加评论 免费...

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

17. Laya.SoundManager.playSound 无法播放出音效 [ 82%]

...不能正常播放,也没有任何错误提示 然后尝试先调用Laya.loader.load("sfx/hit01.mp3",new Laya.Handler(this,this.onBgmComplete),null,Laya.Loader.SOUND);然后在onBgmComplete的回调里面再调用播放,就会提示 [warn]Retry to load: sfx/hit01.mp3 [error]Failed to load: sfx/h...

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

18. 背景音乐来回切换报错 [ 82%]

...Using executionMode 2 07-16 13:28:38.832 1760-1760/? D/dalvikvm: Trying to load lib libjavacore.so 0x0 07-16 13:28:38.832 1760-1760/? D/dalvikvm: Added shared lib libjavacore.so 0x0 07-16 13:28:38.832 1760-1760/? D/dalvikvm: Trying to load lib libnativehelper.so 0x0 07-16 13:28:38.832 1760-1760/? D/...

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

19. 位图字体加载失败 [ 82%]

...遍,都没有效果! 把官网的字体扒下来了,也是提示failed to load   [warn]Retry to load: res/bitmapFont/test.fnt [error]Failed to load: res/bitmapFont/test.fnt     附件 : --> myUi.zip 2017-05-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

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

20. SWF处理后的使用问题 [ 80%]

...使用如下方式加载使用: var mc:MovieClip = new MovieClip(); mc.load("res/test.swf",true); 为何报错: [error]Failed to load: http://www.test.com/res/test/image/1.png  ....... [error]Failed to load: http://www.test.com/res/test/image/66.png  2017-08-03 添加评论 免费帖 --> 分...

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