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

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

231. 在Chrome下Layaair的List组件无法拖动,报如图错误 [ 65%]

...件无法拖动,报如图错误 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.   附件 : --> 2017-03-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

232. 二进制图片(JavaScript-2D进阶篇(JS)-游戏加载策略) [ 65%]

...ar sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,completeHandler); xhr.once(Laya.Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); function completeHandler(data){ //加载完成返回的data是arraybuffer; //.......这...

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

233. 学习官方视频教程中飞机大战游戏出现的问题!! [ 65%]

...   this.addChild(this.playAnim);             this.playAnim.on(Laya.Event.COMPLETE,this,this.onPlayComplete);         } onMouseMove():void{         //根据鼠标位移主角方法         this.hero.pos(Laya.stage.mouseX,Laya.stage.mouseY);     }     2018-05-03 0 0 分享 微...

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

234. 求解关于跨域的具体操作 [ 64%]

...tHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); 2018-07-04...

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

235. 正常运行的2.1升级到2.2.0出现循环依赖的错误,这是咋回事丫 ? [ 64%]

....json"  at ChildProcess.exithandler (child_process.js:217:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:194:7) at maybeClose (internal/child_process.js:899:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) killed: false, code: 1, signal: null, cmd: 'D:...

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

236. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 64%]

...  Utils3D._createNodeByJson(this,json,this,innerResouMap);     this.event("hierarchyloaded",[this]);     this.__loaded=true;   }   打了一个log,发现data[0]读取出来的结果是"{",也就是说data被按照字符串读取了,而不是数组。   /**     *结束加载,...

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

237. 不存在的资源路径问题 [ 64%]

...问题是因为没有资源也调用了加载完成, Laya.loader.on(Laya.Event.ERROR, this, this.onLibError); Laya.loader.load([{ url:com.globals.GameConfig.XML_LIB_URL, type:Loader.BUFFER }], Handler.create(this, this.onLibLoaded)); 资源是不存在的,然后还是调用了 this.onLibLoaded ...

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

238. LayaNative中真机调试时JS中打印的信息会在DevTools里面输出两次 [ 64%]

...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 S_eVent 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 编译调试启动chr...

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

239. layabox 程序 访问index.html?key='aaa' key参数启动类怎么获取? [ 64%]

...何获取当前所有动画名称呢?或者所有的AnimationClip呢? Event.MOUSE_WHEEL 如何获取鼠标滚轮是放大开始缩小 怎么获取对象的坐标 启动引擎报错 mPlugin.game_plugin_init(3); tree mouseHandler 怎么获取条目 问题状态 最新活动: 2018-06-14 09:27 浏...

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

240. 导出微信小游戏代码报错gameThirdScriptError [ 64%]

...gameThirdScriptError (unknown) gameThirdScriptError Cannot read property 'events' of undefined TypeError: Cannot read property 'events' of undefined     at Function.EventDispatcher.__init$ (http://127.0.0.1:52880/game/code.js:630:29)     at http://127.0.0.1:52880/game/code.js:14:71     at Arra...

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