大约有 1,587 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0176 秒)
Laya_社区(1114) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(52) Laya3.0_api(11) Laya2.0_api(2)
...文件的话,会有资源load不上来,报错:[error]Failed to load: res/atlas/test.atlas H5_Gamker • 2020-06-23 19:55 是不是换了适配库之后外面有些调用会对不上 157*****593 • 2020-06-23 20:16 清理一下缓存 H5_Gamker • 2020-06-24 09:33 换了新的库之后,之...
来源: Laya_社区 发布时间: 20200623
...为天空盒加载贴图文件 skyBox.textureCube = Laya.TextureCube.load("res/skyBox1/skyCube.ltc"); 但发布到微信小游戏时,启动报错,请问是什么问题: gameThirdScriptError Failed to execute 'texImage2D' on 'WebGLRenderingContext': No function was found that matched the signat...
来源: Laya_社区 发布时间: 20180307
...; this.te.on(Laya.Event.COMPLETE, this, this.teComplete); this.te.loadAni("res/wing_01_side.sk"); } } else if(e.keyCode == 50 || e.keyCode == 98) { if(this.te != null){ this.te.destroy(); this.te = null; this.sk.destroy(); this.sk = null; } } } private teComplete():void{ this.sk = this.te.buildArmat...
来源: Laya_社区 发布时间: 20190320
提示“AtlasResourceManager:Dispose the inner Atlas。” AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 laya.webgl.js:372 AtlasResourceManager:Dispose the inner Atlas。 laya.webgl.js:374 >>>>altas garbageCollection =1 lay...
来源: Laya_社区 发布时间: 20170825
...,查看线上示例。 示例的资源文件位于`源码根目录/bin/res/`,如下图所示:  ### 四、如何运行查看LayaAir引擎示例 为了验证我们的编译与项目环境没有问题,我们先把默认的示例给编译运行起来看一看。 由于引擎源码...
来源: Laya2.0_文档 发布时间: 20210715
...当的时候调用destory销毁地图 tiledMap.createMap("res/atlas/TiledMap/desert.json", viewRect, new Handler(this, completeHandler)); } /** * 地图加载完成的回调 */ function completeHandler() { //设置缩放中...
来源: Laya_社区 发布时间: 20180614
...n); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示  (动图8)
来源: Laya2.0_文档 发布时间: 20210715
...Fred 赞同来自: 您好,按您说的将basePath设置成目录,在getRes内进行url的format后结果如下图: 2021-09-16 0 0 分享 微博 QZONE 微信 shiyang 赞同来自: 在微信上面,直接导入release/wxgame BugDemo1.rar 2021-09-16 0 0 分享 微博 QZONE 微信 shiyang 赞...
来源: Laya_社区 发布时间: 20210909
...n); skeleton.pos(600,700); //通过加载直接创建动画 skeleton.load("res/spine/spineboy/spineboy.sk"); ``` 运行效果如动图8所示  (动图8)
来源: Laya2.0_文档 发布时间: 20210715
...age var ape = new Sprite(); Laya.stage.addChild(ape); ape.loadImage("../../res/apes/monkey3.png"); // 方法2:使用drawTexture Laya.loader.load("https://s2.d2scdn.com/2017/12/ ... ot%3B, Handler.create(this, function() { var t = Laya.loader.getRes("https://s2.d2scdn.com/2017/12/ ... 6quot;); var ...
来源: Laya_社区 发布时间: 20171220