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

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

71. 加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds [ 75%]

加载SK文件时,报错如下:Uncaught getUint16 error - Out of bounds var roleTemp = new Templet(); roleTemp.on(Event.COMPLETE, this, function(){ var roleAni = roleTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载...

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

72. Native1.0.1 无法连接wss [ 75%]

...et.on(Laya.Event.CLOSE, this, this.onDisonnect); this.socket.on(Laya.Event.ERROR, this, this.onConnectFail); this.socket.on(Laya.Event.MESSAGE, this, this.onReceive); this.socket.connectByUrl(url); 2018-09-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

73. 加载sk文件时,报Uncaught getUint16 error - Out of bounds [ 75%]

加载sk文件时,报Uncaught getUint16 error - Out of bounds 加载spine的sk文件时,报Uncaught getUint16 error - Out of bounds,是什么原因啊 2017-11-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回...

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

74. 在UI类里调用启动类的静态函数失败了 [ 75%]

...  这个是我的UI类,我在这个类里调用GameMain.aaa();提示TypeError: GameMain.aaa is not a function 问题是我调用其他类的静态函数就没问题,请问这是什么?   /**Created by the LayaAirIDE*/ module view { export class GameInfo extends ui.GameInfoUI { constructor() ...

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

75. js socket 连接不上 [ 75%]

...Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){ console.log(event); //接收到数据触发函数 // socket.emit('lo...

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

76. Dragonbones龙骨动画 播放不同动作出现闪烁 混乱 [ 75%]

...let.on(Event.COMPLETE, this, this.parseComplete); // this.templet.on(Event.ERROR, this, this.onError); this.templet.loadAni(this.aniUrl); this.maskBox.graphics.drawRect(0,0,this.width,this.height,'#ffffff'); this.mask = this.maskBox; this.maskBox.alpha=0; // this.show(); } private parseComplete():vo...

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

77. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 74%]

...dler); this.socket.on(Event.CLOSE,this,closeHandler); this.socket.on(Event.ERROR,this,errorHandler); } public function connect():void { if(!this.socket.connected){ this.socket.connectByUrl("ws://127.0.0.1:9000");//建立连接; } } public function send(msg:String):void { if(this.socket.connected){...

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

78. [QQ小游戏适配] Laya.loader.create 在QQ安卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 [ 74%]

...卓版本上 执行没有成功回调,也没有进度回调,监听了error 也没有。在ios版QQ上正常。 游戏适配QQ小游戏平台(不是玩一玩), 使用 Laya.loader.create 加载3d资源 *.lani动画资源 ,在iOS版本的QQ上正常加载,在安卓版本的QQ上 没有任...

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

79. webaudio 在iframe中使用, android chrome中没声音 [ 74%]

...用 LayaAirIDE下如何使用mask? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 问题状态 最新活动: 2017-11-14 12:21 浏览: 1932 关注: 2 人

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

80. Spine 间隔一段时间卡顿5000毫秒左右,期间GPU占用极高, Demo已上传 [ 74%]

...aya.Event.COMPLETE, handler.caller, handler.method); templet.on(Laya.Event.ERROR, this, this.printError); templet.loadAni(url); }  printError(e) { console.error(e); } } //激活启动类 new Main(); 附件 : --> TEST2.zip 2022-05-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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