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

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

81. "Failed to execute 'texImage2D' on 'WebGLRenderingContext' [ 57%]

...人 gveden 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND httprequest ios手机上请求提示Request failed status:0 Array buffer allocation failed WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaS...

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

82. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 57%]

...,html5是如何进行二进制图片操作的。 ### 不得不说的XMLHttpRequest 说起加载文件,不得不说的是`XMLHttpRequest`,这里我们简单介绍下,详细的教程请移步到`HttpRequest`章节。XMLHttpRequest是浏览器的一个接口,使得Javascript可以进行HTTP(S...

来源: Laya2.0_文档 发布时间: 20210714

83. 关于HttpRequest [ 57%]

关于HttpRequest 看了一下HttpRequest的API 发现发送的数据支持方式有点少 例如 如果是下面这样的结构 就不好发给服务器 var obj: Object = { name: "stone", list: [1, 2, 3], items: [ { id: 1, count: 10 }, { id: 2, count: 0 } ] }; 2017-06-28 添加评论 免费帖 -->...

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

84. 多线程worker(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 57%]

...ndow、document之类的浏览器全局变量; [workder 支持的函数](https://developer.mozilla.org/En/DOM/Worker/Functions_available_to_workers) 页面提供了一个 worker 支持的全局函数列表。开发者可以自己看下相应的方法。 ####方法概述 ##### 构造函数Worker() ...

来源: Laya2.0_文档 发布时间: 20210715

85. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 57%]

...,html5是如何进行二进制图片操作的。 ### 不得不说的XMLHttpRequest ​ 说起加载文件,不得不说的是`XMLHttpRequest`,这里我们简单介绍下,详细的教程请移步到`HttpRequest`章节。XMLHttpRequest是浏览器的一个接口,使得Javascript可以进行HT...

来源: Laya2.0_文档 发布时间: 20210714

86. request failed status:0 text: IOS HttpRequest [ 56%]

request failed status:0 text: IOS HttpRequest var data = { rechargeId:"1", consumerId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestErr...

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

87. 如何在layaair 上使用get方法的xml ,获得节点属性? [ 56%]

...法的xml ,获得节点属性?  网络get方法的官方demo参考: http://layaair.ldc.layabox.com/demo/#Network_GET​                  hr = new HttpRequest();             hr.once(Event.PROGRESS, this, onHttpRequestProgress);             hr.once(Event.COMPLETE, this,...

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

88. 为什么新建一个项目后,什么都没添加,直接点运行就报错?? [ 56%]

...没添加,直接点运行就报错?? laya.core.js:23023 Access to XMLHttpRequest at 'file:///Users/andyzu/Desktop/LayaGame/demo/myLaya/bin/version.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome...

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

89. 如何在laya中直接使用proto中定义的enum? [ 55%]

...root; } 2017-09-11 0 0 分享 微博 QZONE 微信 cuixueying 赞同来自: http://www.cnblogs.com/dh-dh/p/5202780.html 2017-09-12 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Zzz18815519 相关问题 看了其他引擎才发现 LAYA ...

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

90. 从网络上下载的BMP图片二进制数据后,如何赋值给 laya.ui.Image [ 55%]

...赋值给 laya.ui.Image      // 下载图片资源 1.bmp     _proto.MyHttpGet = function()      {         var url = "http://192.168.8.35:80/singer/1.bmp";         var req = new laya.net.HttpRequest();         req.on(laya.events.Event.COMPLETE, this, cb_onSuccess);         req...

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