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

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

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

...ferSource();     source.buffer=WebAudioSound._miniBuffer;     source.connect(WebAudioSound.ctx.destination);     source.start(0,0,0);     //Hello Chrome 55!     if (source.context.state === 'suspended') {         source.context.resume();     } } 2017-11-14 添加评论 免费...

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

122. 求助!wss在native中无法连接 [ 52%]

...页上直接连接是可以连接上的, 报错信息如下: wss://testconnector.46mp.com:8014  I/LayaBox: new JSWebSocket::this=abc23ac0 deletgate=abb1ba70  I/LayaBox: WebSocket::init m_host: testconnector.46mp.com, m_port: 8014, m_path: /  I/LayaBox: @@@@@ connect testconnector.46mp.com:801...

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

123. Array buffer allocation failed [ 52%]

... failed Status:404 text:undefined Array buffer allocation failed websocket connection failed: Invalid frame header Request failed Status:404 text:undefined 问题状态 最新活动: 2019-08-10 09:17 浏览: 2489 关注: 3 人

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

124. websocket连接, ws 时没问题,改成 wss 没反应 [ 52%]

...NDIAN;  //这里我们采用小端     //建立连接     this.socket.connectByUrl("wss://192.168.1.250:5000/websocket/");     this.socket.on(Laya.Event.OPEN, this, this.openHandler);     this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler);     this.socket.on(Laya.Event.CLOSE, t...

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

125. 原生App嵌入Laya做的H5,如何实现数据通讯?? [ 52%]

...发一个小游戏集成到App的聊天界面中去,H5需要从App拿到connect的地址等信息,请问如何互通,急,谢谢! 2017-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_XS 赞同...

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

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

...} private initWebSocket(host,port,cb:Function):void{ console.log("[Pomelo] connect to:",host,port); this.socket = new Laya.Socket(); //用的子协议,字符串或数组 // this.socket.protocols = egret.WebSocket.TYPE_BINARY; this.socket.on(Laya.Event.OPEN, this, this.onConnect); this.socket.on(La...

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

127. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 52%]

...curl_easy_perform failed和JCFileRes::onDownloadError file error WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header /clang:-1: linker command failed with exit code 1 (use -v to see invocation) 求助!华为快游戏发布后报错 Unexpected end of JSON input Failed to l...

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

128. Image.skin = 'https://..../head1.jpg' 报Failed to load:https://..../head1.jpg [ 52%]

...cation failed Uncaught RangeError:Array buffer allocation failed websocket connection failed: Invalid frame header /clang:-1: linker command failed with exit code 1 (use -v to see invocation) web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined Request...

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

129. A星寻路解决方案 [ 51%]

...为0,0(这步不能省略,后边会做详细讲解) 设置长宽为9X9 connections改为four 不可行走节点配置,设置collsion testing Mask为obstacle,且为路障对象添加碰撞体,设置为obstacle层 点击生成数据 导出数据 添加组件 AstartExpLayaTool,点击 exp json(导...

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

130. websocket无法连接 [ 51%]

...我们采用大端 this.socket.endian = Laya.Byte.BIG_ENDIAN; this.socket.connectByUrl("ws://"+host+":"+port+"/hoopster"); //建立连接 this.socket.on(Laya.Event.OPEN, this, onOpen); this.socket.on(Laya.Event.MESSAGE, this, onReceive); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); thi...

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