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

大约有 200 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0041 秒)

11. http 请求 once 的 回调参数,如何传递和接收? [ 89%]

http 请求 once 的 回调参数,如何传递和接收? once () method  public function once(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知,此侦...

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

12. 打包成Android应用,获取首页链接经常超时最后卡在加载界面 [ 89%]

...在加载界面 09-23 11:41:15.458 16178-16304/? I/LayaBox:  xhr.GET url=http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:15.469 16178-16271/? I/LayaBox: Download [  ]:http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:23.476 16178-16271/? W/LayaBox: download error: timeout...

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

13. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 87%]

...yaBox: found the file in the package:scripts/async.js I/LayaBox:  loadApp:http://happiness.joyleafs.com/ncapi/client/app*/index.json I/LayaBox: setCachePath:/data/user/0/com.layabox.run.*//LayaCache//appCache/     read index:/data/user/0/com.layabox.run.*//LayaCache//appCache/da25d557/filetable.t...

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

14. 网络通信 · LayaAir3文档 · LAYABOX [ 87%]

网络通信一、概述二、Http连接2.1 Laya.HttpRequest2.2 GET2.3 POST2.4 扩展HttpRequest三、 WebSocket连接3.1 Laya.Sokcet3.2 Laya.Byte 二进制读写四、ProtocolBuffer使用4.1 Message 定义4.2 项目中添加protobuf 类库4.3 加载协议文件4.4 Message 方法4.5 代码示例网...

来源: Laya3.0_文档 发布时间: 20250104

15. 网络和格式-GET [ 86%]

...gColor = "#232628"; this.connect(); this.showLogger(); } connect() { const HttpRequest = Laya.HttpRequest, Event = Laya.Event; hr = new HttpRequest(); hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); hr.once(Event.ERROR, this, this...

来源: Laya2.0_示例 发布时间: 20250221

16. 网络和格式-GET [ 86%]

... var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var HttpRequest = Laya.HttpRequest; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var hr, logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...

来源: Laya_示例 发布时间: 20250221

17. iOS真机运行报错--- 加载游戏失败,可能由于您的网络不稳定,请退出重进 [ 85%]

...: 2018-03-15 11:24:58.264754+0800 MineSweeper6[7091:2932031] xhr.GET url=http://stand.alone.version/index.html 2018-03-15 11:24:58.265521+0800 MineSweeper6[7091:2932001] Download [ ]:http://stand.alone.version/index.html Creating context 1024, 768, 22018-03-15 11:24:58.270942+0800 MineSweeper6[709...

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

18. 打包缓存问题 [ 84%]

...son后,重新layadcc 后 第一次打开项目后日志显示xhr.get url=http://192.168.200.3:8889/configs/Achieve471a2538.json 第二次打开项目后日志还是显示xhr.get url=http://192.168.200.3:8889/configs/Achieve471a2538.json   按官网的流程图应该是发现有重新后下载到...

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

19. dcc服务端应该配置怎么样的环境才能让手机客户端更新资源时能够正确的访问到 [ 84%]

...打出apk包作为基础包 构建的时候配置 URL路径是本地路径 http://10.0.0.114:8900/bin/index.html     然后我在view里面隐藏了两个button,作为改变 用命令 layadcc D:/work/native_test/bin 打包   运行之前的基础apk,然后还是显示旧的view(也就是那两...

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

20. 求HTTP相关的文档或者例子谢谢了 [ 83%]

HTTP相关的文档或者例子谢谢了 __proto__.wishComp=function(e){}         __proto__.checkList=function(){             this.publicloader=new URLLoader();             this.publicloader.dataFormat=/*iflash.net.URLLoaderDataFormat.VARIABLES*/"variables";        ...

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