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

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

81. 调用时间轴动画丢失皮肤问题? [ 73%]

...丢失皮肤问题? 按照教程来,报错这个。。。 lost skin: comp/ 请问报这个错事因为图片素材路径问题还是因为图片没有打包? 2018-03-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...

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

82. 发布之后报错,跨域问题 [ 72%]

... file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/res/atlas/comp.atlas: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. Access to Image at 'file:///Users/dongxiang/Documents/saolei/release/layaweb/v1.0.0/comp/classic_numbers_...

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

83. 请问laya里如何解析json,似乎和AS3的不太一样。 [ 72%]

...qi public function BBB() { Laya.init(550,400); Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded():void { var json:JSON=Laya.loader.getRes("res/atlas/comp.json"); }JSON的解析和AS3的是一样的   2016-10-27 2 0 分享 微博 QZ...

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

84. 多线程worker(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 72%]

...entTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worker("my_task...

来源: Laya2.0_文档 发布时间: 20210715

85. 切换位图,点击图片距离容器的区域也会触发点击事件 [ 72%]

...itionImg() { this.flag = false; //判断条件 this.img1 = "../laya/assets/comp/haoyoubang-liang.png"; //地址 this.img2 = "../laya/assets/comp/haoyuobang-hui.png"; var img = new Laya.Sprite(); //实例 img.width = 300; //宽高 img.height = 200; switchImg(); img.on(Laya.Event.CLICK, this, switchIm...

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

86. 多线程worker(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 72%]

...entTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加载完毕传给主进程,运行这个例子可以在浏览器控制台看到数据输出来。 `var myWorker = new Worker("my_task...

来源: Laya2.0_文档 发布时间: 20210715

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

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

88. [LayaAir3]资源未清理干净 [ 71%]

..._bg.png (4) [6, Texture, 7, Texture2D] loader http://localhost:18090/atlas/comp/img_bg.png (4) [6, Texture, 7, Texture2D] close --------------------------------gc 6000----------------------------------- loader http://localhost:18090/resources/chest_bg.png (2) [6, Texture] loader http://localhost:180...

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

89. Panel滚动条滑块位于最下方 [ 71%]

...00,WebGL); Laya.stage.bgColor="#EEFFCC"; Laya.loader.load([{url:"res/atlas/comp.json",type:Loader.ATLAS},{url:"bg2.png"}],Handler.create(this,onCom)); } private function onCom():void { var img:Image=new Image(); img.skin="bg2.png"; panel=new Panel(); panel.vScrollBarSkin="comp/vscroll.png"; panel.wi...

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

90. 编辑器卡死 [ 71%]

...法打开代码编辑器 请配置 这个怎么解决? 在UI编辑器里 comp 文件夹导入图片后 在侧边栏不显示任何文件,但是文件夹里有 编辑器选择分离模式生成TS代码时能自动在createChildren里加上createView调用代码么? h5项目打包成单机版本...

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