大约有 412 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)
Laya_社区(286) Laya2.0_api(75) Laya3.0_文档(23) Laya2.0_文档(19) laya_api(3) Laya3.0_api(2) Laya2.0_示例(2) Laya_示例(2)
...规则有没有基本的说明文档 比如: Laya.loader.load("res/atlas/comp.json", Laya.Handler.create(null, onLoaded), null, Laya.Loader.ATLAS); Laya.loader.load(resArray, Laya.Handler.create(null,onLoaded)); loader与handler 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170316
...行筛选,只需要在资源前取消勾选即可,譬如我不想压缩comp.png 3、如果我们有大量的资源,我们可以对其进行关键字筛选,譬如我输入001 这样,我们就可以针对某一类资源进行是否打包的设置了 附件 : --> 2017-09-06 添加评论 免...
来源: Laya_社区 发布时间: 20170906
...游戏上显示一个Dialog 代码如下: Laya.loader.load(["res/atlas/comp.atlas"], Laya.Handler.create(this, function(){ console.log("load atals ok"); var dlg1:ui.TestDlgUI = new ui.TestDlgUI(); Laya.stage.addChild(dlg1); dlg1.show(); }));在微信小游戏的模拟器上是正常的,但是在...
来源: Laya_社区 发布时间: 20180525
... ui控件的runtime可以设置添加参数吗 prefab添加runtime脚本 comp._addComponentInstance is not a function 2.0 Beta3版本中,runtime脚本的的问题 看腾讯课程碰到的runtime无效问题 IDE界面编辑中最顶层view设置runtime无效 Cannot connect to runtime process, timeo...
来源: Laya_社区 发布时间: 20170613
...(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this._boll1.addComponent(laya.physics.BoxCollider); box.height = 60; box.width = 28; //添加刚体 this._boll1.addComponent(Laya.RigidBody); //创建挡板 this.create...
来源: Laya_社区 发布时间: 20190428
...后提示找不到bg.png,在浏览器中的appication中找不到h5/res/comp/bg.png,我手动把这个路径创建出来后,还是无法加载 附件 : --> myDeme2.zip 2018-09-20 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20180920
...引擎有什么区别? 版本管理时index.js的hash值错误 lose skin comp/button.png 错误,全部按照UI案例来的呀 位图为什么老是加载错误啊。崩溃了 安卓微信小游戏中webgl渲染文字过慢 问题状态 最新活动: 2019-03-19 21:12 浏览: 4468 关注: 2 人
来源: Laya_社区 发布时间: 20190319
...问题 var resurls = []; resurls.push({url:"http://192.168.6.132:8900/bin/comp/tap.mp3",type:Laya.Loader.SOUND});Laya.loader.load(resurls, Handler.create(this, onLoaded), Handler.create(this, onLoading, null, false)); function onLoaded(){ console.log(Laya.loader.getRes(src)); } 在chrome,安卓...
来源: Laya_社区 发布时间: 20170811
...定对这个图集做了预加载了 var resArray = [ {url:"res/atlas/comp.json", type: Laya.Loader.ATLAS}, {url:"res/atlas/assets.json", type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的,...
来源: Laya_社区 发布时间: 20170317
...控制台提示:错误,图片是IDE自带的,也不显示 lose skin comp/button.png 错误,全部按照UI案例来的呀 2.3.0版本微信小游戏库错误重现demo 模型在ios中,某个特定角度下显示错误 spine动画转换失败,加载错误:导出二进制数据出错:writeUin...
来源: Laya_社区 发布时间: 20180510