• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 412 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

241. 关于layaair中类的大小写规则有没有基本的说明文档 [ 53%]

...规则有没有基本的说明文档 比如: 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

242. 分享:LayaAir IDE 发布release版本 PNG压缩 筛选资源功能的使用! [ 53%]

...行筛选,只需要在资源前取消勾选即可,譬如我不想压缩comp.png 3、如果我们有大量的资源,我们可以对其进行关键字筛选,譬如我输入001 这样,我们就可以针对某一类资源进行是否打包的设置了 附件 : --> 2017-09-06 添加评论 免...

来源: Laya_社区 发布时间: 20170906

243. Dialog.show 的 showEffect参数在微信真机上的问题 [ 53%]

...游戏上显示一个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

244. Cannot connect to runtime process, timeout after 10000 ms [ 53%]

... 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

245. [LayaAir 2.0] 如何用代码为Spirte添加2d物理特性 [ 53%]

...(); 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

246. FB运行laya新建的ui官方示例,背景图片没有加载出来 [ 53%]

...后提示找不到bg.png,在浏览器中的appication中找不到h5/res/comp/bg.png,我手动把这个路径创建出来后,还是无法加载 附件 : --> myDeme2.zip 2018-09-20 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

来源: Laya_社区 发布时间: 20180920

247. CONTEXT_LOST_WEBGL 错误 骁龙625,626机型常见 [ 53%]

...引擎有什么区别? 版本管理时index.js的hash值错误 lose skin comp/button.png 错误,全部按照UI案例来的呀 位图为什么老是加载错误啊。崩溃了 安卓微信小游戏中webgl渲染文字过慢 问题状态 最新活动: 2019-03-19 21:12 浏览: 4468 关注: 2 人

来源: Laya_社区 发布时间: 20190319

248. ios load后 声音播放问题 [ 53%]

...问题 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

249. 图片放在assets根目录下无法被引用成功,必须放到一个文件夹中 [ 53%]

...定对这个图集做了预加载了 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

250. A/libc: Fatal signal 11 (SIGSEGV), code 1错误,app闪退 [ 53%]

...控制台提示:错误,图片是IDE自带的,也不显示 lose skin comp/button.png 错误,全部按照UI案例来的呀 2.3.0版本微信小游戏库错误重现demo 模型在ios中,某个特定角度下显示错误 spine动画转换失败,加载错误:导出二进制数据出错:writeUin...

来源: Laya_社区 发布时间: 20180510