大约有 325 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...son文件不成功!json文件放在bin目录下的 Laya.loader.load(["res/atlas/comp.atlas","res/atlas/popup.atlas","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180723
...打包,输出路径,为了以后看着舒服,设置未打包路径为bin/res,现在IED的UI显示,看着没啥问题, 第二部,写代码,加载资源,也没啥问题见图, 不过运行就完蛋了报错了,说找不到资源,见图所示说这个加载错误images/pulloutRadish/bgGame.jpg,,然...
来源: Laya_社区 发布时间: 20180119
...17-11-03 14:13 这应该是你要的结果 我贴伪代码给你 loadBytes(res.bin, () => { res.texture = Texture.create(res.source, 0, 0, res.texWidth, res.texHeight); // res.source.dispose();//提交显卡是异步过程 dispose 会导致texture无效 // setTimeout(() => { // res.source.disp...
来源: Laya_社区 发布时间: 20170502
...么回事 后面我在bin文件夹下 建了个H5文件夹 在建了个res 文件夹把资料放进去 控制台显示 [warn]Retry to load: res/ziti.fnt [warn]Retry to load: res/ziti.png [error]Failed to load: res/ziti.fnt [error]Failed to load: res/ziti.png 知道的说说吧 附件 : --> 201...
来源: Laya_社区 发布时间: 20170811
...s:9742 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...
来源: Laya_社区 发布时间: 20170108
...从github上下载layaair的源代码, 然后将源代码中的samples/res资源复制到本地项目的bin目录下。 3)将samples中的CameraMoveScript.ts和CustomTerrainMaterial.ts复制到本地项目的src目录下。 4) 将示例中的ts代码复制到LayaAir3D.ts中 最终代码结构...
来源: Laya_社区 发布时间: 20180403
...路径全错了,下面这个是选择合并JS后的结果 Failed to load resource: net::ERR_FILE_NOT_FOUND EXIT.png Failed to load resource: net::ERR_FILE_NOT_FOUND laya.core.min.js:1 [warn]Retry to load: ../bin/res/btimg/START.png n._endLoad @ laya.core.min.js:1 laya.core.min.js:1 [warn]Retry to ...
来源: Laya_社区 发布时间: 20180112
...下的切图,打包后被分配到了三个目录 bin\ad\... 和 bin\res\atlas\ad\... 和 bin\res\atlas\ad.png 这也太乱了太分裂了,统一放在res\atlas\ad目录下,方便做分包加载。 附件 : --> 2020-08-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20200824
...博 QZONE 微信 zfree 赞同来自: 会拷贝资源从 项目laya/assets/res到bin/res下。 2017-07-28 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zfree 相关问题 unity导出粒子文件问题 laya针对页游耗用内存大的...
来源: Laya_社区 发布时间: 20170728
...er = Laya.Loader; var Handler = Laya.Handler; var ROBOT_DATA_PATH = "../../res/skeleton/robot/robot.bin"; var ROBOT_TEXTURE_PATH = "../../res/skeleton/robot/texture.png"; (function() { Laya.init(100, 100); var assets = []; assets.push( { url: ROBOT_DATA_PATH, type: Loader.BUFFER }); assets.push( { u...
来源: Laya_示例 发布时间: 20260928