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

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

1. 2.0.0beta5 can not find class Laya.Text [ 100%]

2.0.0beta5 can not find class Laya.Text 我有个项目  Laya.version 显示 2.0.0beta5 请问我应该下载哪个版本的编辑器?我下载了   这两个版本的,运行的时候提示我这个   这是什么情况啊 附件 : --> 2021-06-24 添加评论 免费帖 --> 分享 微博 QZ...

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

2. Laya2.0编译后所有js都自动合并到bundle.js中,导致bundle.js过大,加载速度很慢,bundle.js可以拆分吗 [ 80%]

...lization": true,  /* Enable strict checking of property initialization in classes. */     // "noImplicitThis": true,                /* Raise error on 'this' expressions with an implied 'any' type. */     // "alwaysStrict": true,                  /* Parse in strict mode and emit...

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

3. playSound和playMusic结束时候有异常抛出 [ 77%]

...是否需要关注? Demo代码(已测试有效):  // 程序入口 class GameMain {     constructor()     {         Laya.init(640,1100, Laya.WebGL);         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage....

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

4. Cannot read property 'load' of null [ 70%]

...Laya.loader是null,为什么会出现为null的情况?  代码如下: class main{ constructor(){ MapManager.getInstance().LoadMapResource(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=...

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

5. socket大型项目回调 [ 52%]

...型项目回调 /** * 创建时间 2017/04/16 */ module PomeloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; pri...

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

6. 构建apk后,java报错 [ 39%]

...a:80)         at miui.contentcatcher.InterceptorFactory.initInterceptorClass(InterceptorFactory.java:99)         at miui.contentcatcher.InterceptorFactory.createInterceptor(InterceptorFactory.java:41)         at miui.contentcatcher.InterceptorProxy$H.handleMessage(InterceptorProxy.java:3...

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