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

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

1. XMLHttpRequest cannot load [ 100%]

...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

2. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 87%]

...uot;; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUSE_DOWN,this,function()...

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

3. 关于LayaAir IDE 编辑模式下的打包功能不能合成所有图片的问题 [ 80%]

...后得到的资源,其中IDE没有把lava.png合成到大图,而是在atlas目录下创建了一个与assets目录下我创建的文件夹同名的文件夹,把lava.png丢在了该文件下面。导致以下报错: 路径不对,我能想到解决的办法就是修改layaUI.max.all.js里这...

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