大约有 226 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
在代码新建b2Vec对象会导致编译阶段就出错 this.vec=new b2Vec2(); 加了这个就会这样,编译器不报错。 附件 : --> enging_game.zip 2023-11-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...
来源: Laya_社区 发布时间: 20231103
...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
...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
...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
...但是不断切换音乐的时候也会增加,如 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
... s.completeCreate()},n.disposeResource=function(){this._source&&(V.mainContext.deleteTexture(this._so TypeError: Cannot read property 'createTexture' of null ...
来源: Laya_社区 发布时间: 20180129
...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
...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
...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
... 0; } export class TestClass2 extends TestClass { constructor() { super(); this.type = 1; } }测试代码如上所示,打印结果是:0,0,true,预期结果是:0,1,false才对。 获取TestClass2实例时,返回的是TestClass的实例对象,看了下源码,发现是获取类唯...
来源: Laya_社区 发布时间: 20250819