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

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

1. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 100%]

(有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are Failed to load file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas: Cross origin requests are only supported for protocol schemes: http, ...

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

2. XMLHttpRequest cannot load [ 97%]

...42 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to ...

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

3. 找不到对应的资源 [error]Failed to load: res/atlas/standUp/aa.json [ 97%]

找不到对应的资源 [error]Failed to load: res/atlas/standUp/aa.json 1.资源应该什么放,才对, 我用自带的图集工具打包(现在是加载失败先),知道是路径!但。。。。还是没有调对 2.用自带的图集打包,会在傍边多出一个文件夹“DEFAULT_...

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

4. 关于资源加载的问题 [ 94%]

...ray = [{url : "games/game_13/shakeask_bg.jpg"}, {url : "res/atlas/games/game_13/image.atlas"} ]; Laya.loader.load(loadArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。...

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

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

...//lg-f6ejft4c-1256468286 ... 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.cre...

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

6. Laya.URL.basePath加载不到网络资源 [ 89%]

Laya.URL.basePath加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ];   Laya.loader.load(resArray, Laya.Handler.create(this, th...

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

7. h5发布后,访问不到图片? [ 88%]

... 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 应该是atlas后缀的文件你没有在iis服务器上设置允许,建议你上网查下相关资料 2018-01-12 0 0 分享 微博 QZONE 微信 casd12222003d 赞同来自: 发现路径全错了,下面这个是选择合并JS后的...

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

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

...oad 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 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

9. 火狐浏览器上webgl异常 [ 82%]

...享 微博 QZONE 微信 阿龙 赞同来自: [error]Failed to load: res/atlas/comp.atlas myLayaPricticeAll.max.js:16597:5 lose skin comp/button.png  Error: WebGL warning: texSubImage2D: Texture has not been initialized prior to a partial upload, forcing the browser to clear it. This may be slow....

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

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

...看下   加载代码 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.Handler.create(this,...

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