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

大约有 52 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)

1. lib/arm/liblayaair.so 总是崩溃 [ 100%]

...user_id=63527&data=9344eb96985e440244f92533fe3718444744eb565c5e44020a0e000b040a0e0b05010b0e064744be955e5f9bbf5a5c5e440244f92533fe3718f91436fe1933f5272af56e38444744be955e5f9be85d90440244f9331dfe1e31f13e6344474450515a5f5f5e574402440a0808040a040808449c&check_sum=ae584e49dbd19e6d9e02888224f64ddb...

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

2. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 92%]

...模板dizziness      //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对      Animation.createFrames(aniUrls(stand + "000", 5), stand + "000");     Laya.stage.addChild(roleAni);     roleAni.interval = 120;     //播放指定的某一个...

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

3. 定义了一个string,使用replace方法替换一些字段,为什么没有生效呢 [ 89%]

...什么没有生效呢 var testString = "123456789" testString.replace("1","000") console.log(testString) 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 linxuyang 赞同来自: testString = testString.r...

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

4. 屏幕适配的缩放模式详解(JavaScript-2D基础篇(JS)-屏幕适配) [ 81%]

...       txt.fontSize = 60;         txt.color   = "#fff000";         Laya.stage.addChild(txt);     })();   })(); ``` ### 二、fixedheight模式 ​ fixedheight 模式下,画布与stage的高保持设计高度不变,画布与stage的宽等于适配宽度(适配...

来源: Laya2.0_文档 发布时间: 20200307

5. skin 大于512 的释放问题 [ 80%]

...: number): void { this.imgItem = new Image(); this.imgItem.skin = 'forging/000' + (type + 1) + '.png'; this.imgItem.y = type * 231; this.name = type + ""; this.showFight(fight); } showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.Textrue...

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

6. 屏幕适配的缩放模式详解(ActionScript-2D基础篇(AS3)-屏幕适配) [ 79%]

...       txt.fontSize = 60;         txt.color   = "#fff000";         Laya.stage.addChild(txt);         }            } } ``` ### 二、fixedheight模式 ​ fixedheight 模式下,画布与stage的高保持设计高度不变,画布与stage的宽等于...

来源: Laya2.0_文档 发布时间: 20200307

7. 屏幕适配的缩放模式详解(TypeScript-2D基础篇(TS)-屏幕适配) [ 79%]

...  this.txt.fontSize = 60;         this.txt.color   = "#fff000";         Laya.stage.addChild(this.txt);         }       } } new laya.SmartScale_T(); ``` ### 二、fixedheight模式 ​ fixedheight 模式下,画布与stage的高保持设计高度不变,画布...

来源: Laya2.0_文档 发布时间: 20200307

8. HTMLDivElement使用滤镜时显示异常 [ 78%]

...text.innerHTML = "中华人民共和国"; text.filters = [new GlowFilter("#000", 4, 2, 2)]; text.x = (ClientConfig.displayWidth-text.width)/2; text.y = (ClientConfig.displayHeight-text.contextHeight)/2; addChild(text);   加了滤镜后文字显示就不全,去掉滤镜就正常   2017-02-16 添...

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

9. 关于适配采用showAll后留白部分的颜色问题 [ 75%]

...如題的黑底,自行在 Body 標籤後加上 style="background-color:#000"  即可。             2017-07-25 2 2 分享 微博 QZONE 微信 Playerdata1 赞同来自: Supermang42 是这个把 但里面并没有  background-color 属性 2017-07-25 1 3 分享 微博 QZONE 微信 cuixueying...

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

10. laya打包native上传Google Play 后台报错 [ 75%]

...0, tid: 0 >>> com.fengliu.fkxyr <<< backtrace:   #00 pc 00000000000160f0 /data/app/com.fengliu.fkxyr-1/lib/arm64/libv8_libbase.cr.so (offset 0xc000) (v8::base::OS::Abort()+24)   #01 pc 000000000084479c /data/app/com.fengliu.fkxyr-1/lib/arm64/libv8.cr.so (offset 0x2ea000)   #02 p...

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