大约有 557 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...ghtDemo2.7.1\fightDemo2.7.1> layaair2-cmd compile internal/mod ules/cjs/loader.js:638 throw err; ^ Error: Cannot find module 'C:\Users\Nick'z\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\gulp\bin\gulp.js' at Function.Module._resolveFilename (internal/modules/cjs/lo...
来源: Laya_社区 发布时间: 20201110
已上传demo window["wx"].env.USER_DATA_PATH 下的资源用loader加载不了 资源文件用 var fileManager = window["wx"].getFileSystemManager(); fileManager.access() 这个接口检查过是存在的 附件 : --> Evolution_test.zip 2019-06-28 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190628
... var arr:Array = new Array(); Laya.loader.load("test.json", Handler.create(this, onLoaded), null, Loader.ATLAS); //var json:JSON = Loader.getRes("test.json"); //trace(json); } ...
来源: Laya_社区 发布时间: 20170413
...在Laya2.3.0的laya.wxmini.js中MinAspter的init方法里添加一行Laya.Loader.prototype._loadImage = MiniImage.prototype._loadImage;即可正常 附件 : --> 2019-12-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个...
来源: Laya_社区 发布时间: 20191210
...台中出错。 微信关系链开发,如果在开放域那边使用Laya.loader.load加载就会出错 获取图片资源出错,求大神解答,附代码 问题状态 最新活动: 2018-08-03 10:58 浏览: 1285 关注: 2 人
来源: Laya_社区 发布时间: 20180727
...: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 通过loader加载js文件获取的内容只有两种格式:一种是文本文件,一种是二进制,如果你在加载文件时没有指定加载类型,那么返回的就是文本类型,这个是没问题的,如果你...
来源: Laya_社区 发布时间: 20161102
...sprite3D对象 附件上传了我的工程文件。 如果是使用Laya.loader.create("model/build/warehouse1/warehouse1.lh", Laya.Handler.create(this, onComplete)); function onComplete() { //仓库原型 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(ware...
来源: Laya_社区 发布时间: 20180104
...图片资源的atlas文件,何解???例如官方的例子:Laya.loader.load(["./res/atlas/ListPage.atlas", "res/atlas/template/ButtonTab.atlas"], Handler.create(this, this.onLoaded)); 而我F12发布,根本没有这个ListPage.atlas,只有ButtonTab.atlas 附件 : --> 2017-09-04 ...
来源: Laya_社区 发布时间: 20170904
...ER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(this, setup)); })(); function setup() { normalizeApe(); makeRedApe(); grayingApe(); } function normalizeApe() { var originalApe = createApe(); apeTexture = Laya.loader.getRes(ApePath); orig...
来源: Laya2.0_文档 发布时间: 20210714
...Arr:Array=[ {url:"res/sound/music_gameplay.mp3", type:Loader.SOUND}, {url:"res/sound/button.mp3", type:Loader.SOUND}, {url:"res/sound/mob_true.mp3", type:Loader.SOUND}, {url:"res/sound/mob_hit.mp3", type:Loader.SOUND...
来源: Laya_社区 发布时间: 20181112