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

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

151. 说的的新版本更新的问题呢 [ 50%]

...xception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.乱起八糟也不知道什么错误,非得要我们自己手动的把substr改为原生的 每次更新库都得这样   问题2 另外一个 形状和形状的碰撞 这个好像...

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

152. Laya2.X自带开放域UI均无法渲染出示例项目的排行榜,数据对的 [ 50%]

...,数据对的。试过很多次,按网上的方法都做了,数据,message什么都是对的,但是就是显示不出来 附件 : --> wxgame.rar 2020-02-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 ...

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

153. 用Socket连接服务器,服务端显示已经有登录,但Event.OPEN没有触发 [ 49%]

...on(Event.CLOSE, this, OnDisconnect);             this.on(Event.MESSAGE, this, OnRecv);             this.on(Event.ERROR, this, OnError);         }                           public function OnConnected(e:*=null):void         {      ...

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

154. socket收到服务器的数据如何解析成proto对象? [ 49%]

...服务器的数据如何解析成proto对象? 如题。是把Laya.Event.MESSAGE处理函数的参数用writeArrayBuffer()写入Laya.Byte对象吗?然后Laya.Byte的对象如何解析成某个proto类对象? 而且如果是像官方例子那样动态解析.proto文件,速度慢就先不说了...

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

155. 为什么HMLDivElement会在这个地方换行? [ 49%]

...2; style.width = 450; style.wordWrap = true; cell.divChat.innerHTML = data.message; cell.height = cell.divChat.contextHeight;   这是设置参数  文本内容是 "<img src = 'common/img_chat_5.png' style = 'width:53px;height:27px'></img><span style = 'color:#ff8135;font:22px;valig...

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

156. websocket连接出错 [ 49%]

...a.Event.OPEN, this, openHandler); //建立连接 this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); //接收到数据触发函数 this.socket.on(Laya.Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(even...

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

157. socket.sent [ 49%]

...ket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接...

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

158. ts加密md5码封装 [ 48%]

...s.loop_shift_left(this.uint_add(a, m(b, c, d), x, t), s), b); }; } porcess_message(str: string) { const length = str.length; const length_of_zero = Math.ceil(length / 64) * 64 - length - 8 - 1; str += String.fromCharCode(0b10000000); const strArray = this.padding(str.split(""), length + 1 + length_o...

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

159. 调试按钮,IDE报错 [ 48%]

...-core\out\src\chrome\consoleHelper.js:138:22)     at Object.formatConsoleMessage (c:\Program Files (x86)\laya\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\consoleHelper.js:39:48)     at ChromeDebugAdapter.onConsoleAPICalled (c:\Program Files (x86)\laya...

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

160. 如何与服务端建立连接 [ 48%]

...st:8989");this.socket.on(Event.OPEN,this,openHandler);this.socket.on(Event.MESSAGE,this,receiveHandler);this.socket.on(Event.CLOSE,this,closeHandler);this.socket.on(Event.ERROR,this,errorHandler); 回到方法 成功失败。。 private function openHandler(event:Object = null):void{//正确建立...

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