大约有 30 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)
...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
...font会报错 Constant.bmfont = new BitmapFont; Constant.bmfont.loadFont(["res/bmfont/123font.fnt", "res/bmfont/critdamage.fnt", "res/bmfont/enemydamage.fnt" ,"res/bmfont/cure.fnt", "res/bmfont/selfdamage.fnt", "res/bmfont/specialfont.fnt"], new Handler(this, this.loadbmfont)); private function load...
来源: Laya_社区 发布时间: 20170213
再微信开发者工具上调试微信小游戏,加载res/ui.json文件出错 解析json数据时报错,发现中文是乱码,把ui.json用ue的utf-8转ascii功能转换后也没用 把MiniLoader里的load方法改了下,当遇到json文件就用utf-8编码加载才正常了。。。 2018-...
来源: Laya_社区 发布时间: 20180103
...18beta 我是用这样的方式加载的图集 Laya.loader.load([{url: "res/atlas/xxx1.json", type: Loader.ATLAS}, {url: "res/atlas/xxx2.json", type: Loader.ATLAS}, {url: "res/atlas/xxx3.json", type: Loader.ATLAS}], Handler.create(... 并且在这之前已经加...
来源: Laya_社区 发布时间: 20180505
...-02 21:00 我是想在要加载的时候改变路径。。比如 要加载 res/123.png 我想他能经过我的函数 然后我给他改成res/123_v1.png 去加载到实际我需要的版本 wen15236 • 2018-02-03 10:20 那就在取和加载的方法调用你的方法改变url
来源: Laya_社区 发布时间: 20180202
...re 圆角图边缘有多出线条 var texture = LoadingManager.instance.getRes("res/progress.png"); var graphics=new Laya.Graphics(); graphics.fillTexture(texture,0,0,texture.width,texture.height,"repeat"); 如果用drawTexture就没问题,因为平铺需求 需要用到fillTexture,但周边有...
来源: Laya_社区 发布时间: 20180904
...ayacmd没有导出资源 layacmd compile %project% -ui clear=true exportRes=true 我是这样写的命令,但是代码是编译了,ui也导出了,图片资源却没有生成 我在laya\assets\xxx\里删除或增加图片,但是,发布后在bin/h5/res/atlas里没有看到生成图集 而...
来源: Laya_社区 发布时间: 20170316
...代码还不一样 用编辑器发布的ui代码: View.regComponent("ui.res.uis.common.NormalWndBasePartUI",ui.res.uis.common.NormalWndBasePartUI); View.regComponent("EffectAnimation",laya.display.EffectAnimation); View.regComponent("ui.res.uis.animationTemplates.ButtonEffecttUI",ui.res.uis.animat...
来源: Laya_社区 发布时间: 20171227
...: 发不完web后 进入游戏 所有的图片都不显示 图片在res里 我路径写res/123.png 2018-02-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 发布后应该在bin/h5/res 你发布是怎么做的,有按照官方文档来吗 2018-02-06 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20180206
apk不能播放背景音乐 SoundManager.playMusic(“res/sounds/haoyunlai.mp3",0); 在ide中可以播放,打包成apk后不能播放! 怎么解决? 音效ide,apk可以正常播放。 2017-12-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20171226