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

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

201. 在代码新建b2Vec对象会导致编译阶段就出错 [ 60%]

在代码新建b2Vec对象会导致编译阶段就出错 this.vec=new b2Vec2(); 加了这个就会这样,编译器不报错。     附件 : --> enging_game.zip 2023-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

202. 安卓app加载场景错误 [ 59%]

...756: TypeError: Cannot read property 'createTexture' of null var glTexture=this._source=gl.createTexture(); ^ TypeError: Cannot read property 'createTexture' of null at Texture2D.__proto._createWebGlTexture (http://192.167.0.100/h5/layawe ... 756:32) at Texture2D.__proto.recreateResource (http://192...

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

203. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 59%]

...TML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ...

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

204. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 58%]

...TML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ...

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

205. 播放音乐 失去焦点后回来内存会不断增加 [ 57%]

...但是不断切换音乐的时候也会增加,如 Laya.timer.loop(1000,this,function():void{ SoundManager.playMusic(UrlUtils.getSoundUrl("runbeard/Audio_Game_Back")); }); Laya_Aaron • 2018-02-08 20:10 都换了就不会切换也增加了 Laya_Aaron • 2018-02-08 20:11 焦点切换,...

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

206. LayaNative 是不是不支持3D啊 [ 57%]

...                 s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so                                             TypeError: Cannot read property 'createTexture' of null                              ...

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

207. Laya2.2问题,有没有遇到的? [ 57%]

...le(); if (GameConfig.stat) Laya.Stat.show(); Laya.alertGlobalError = true; this.onConfigLoaded(); } onVersionLoaded() { } onConfigLoaded() { console.log(123131313213); } } new Main();  }());   错误信息: Uncaught TypeError: window.wx.getFileSystemManager is not a function     at window.wxMi...

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

208. 在微信小游戏中使用BitmapFont会导致报错. [ 57%]

...ont();     timerFont.loadFont('res/timerfont.fnt', Laya.Handler.create(this, () => {         Laya.Text.registerBitmapFont('Name', timerFont);         Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded));     })); }  function onLoaded(): void {     ...

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

209. 【紧急】laya2.0的loadImage方法为什么不触发complete? [ 56%]

...hild(logo); logo.loadImage("img/load_logo.png", 0, 0, 0, 0, Handler.create(this, function(){ trace("complete!!"); })); 我在laya1.0这么写,触发complete没毛病,为什么到了2.0这个complete不触发?谁给解释一下啊 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信...

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

210. [LayaAir3]Pool对象池获取继承对象时会返回基类对象 [ 56%]

... 0; } export class TestClass2 extends TestClass { constructor() { super(); this.type = 1; } }测试代码如上所示,打印结果是:0,0,true,预期结果是:0,1,false才对。 获取TestClass2实例时,返回的是TestClass的实例对象,看了下源码,发现是获取类唯...

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