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

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

3441. Laya如何处理类与类之间的依赖关系 [ 49%]

...elEnum{ ALL = -0xFFFFFFFF, TRACE = 0, DEBUG = 200, INFO = 400, WARN = 600, ERROR = 800, FATAL = 1000, OFF = 0xFFFFFFFF }class Logger { public static logLevel: number = LogLevelEnum.ALL; // 获取或设置日志输出的分级 }编译运行会报错。 可行的办法是改成getter去懒初始化,...

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

3442. LayaFlash如何使用chrome调试问题? [ 49%]

...行在chrome里面 听不见声音 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 问...

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

3443. Native 在iOS上支付失败的问题,及临时解决方法 [ 49%]

...use SKPayment requestData. requestData will not be sent. [IAP] Transaction error: 无法连接到 iTunes Store 10 [IAP] SKPaymentTransactionStateFailed经过调试发现IAPManager有如下代码 SKMutablePayment *payment = [SKMutablePayment paymentWithProduct:product]; NSMutableDictionary* dict = [[...

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

3444. 厘米秀(QQ玩一玩)的引擎里面无法使用 setTimeout/setInterval [ 49%]

...法时,会报未定义的错误。   evel=1, code=-1, info1=Execute JS Error![ReferenceError: Can't find variable: setTimeout]   2018-03-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复 qian 赞同来自: 这...

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

3445. 使用layaair-cmd管理资源版本报错 [ 49%]

...错: internal/child_process.js:323 throw errnoException(err, 'spawn'); ^ Error: spawn EACCES at _errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at Object.<anonymous> (/usr/local/lib/node_modules/layaair-cmd/...

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

3446. 发现引擎几个问题,1、图片资源偶尔加载失败,概率挺大,最好有个自动重新加载资源的机制;2、部分IOS系统性能低下,10—20帧 [ 49%]

... game4d • 2017-11-30 11:04 资源加载失败了补救的机制有吧, error能捕获哪个图加载失败,但这时候页面都已经创建完事了, 最好能够获得引用资源的对象,

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

3447. http在手机端上请求返回404 [ 49%]

...game.com/server/10000 10-14 16:16:53.101 24472-24556/? W/LayaBox: download error: timeout, dt=8,opttimeout=1798 10-14 16:16:53.101 24472-24591/? I/LayaBox:  Sat Oct 14 2017 16:16:52 GMT+0800 (CST) --- http[https://hzzr1.bizgame.com/server] 10000(用户-登录验证-token登录), -2(系统-http错...

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

3448. http无响应 [ 49%]

...ress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.45.19/index.php/Tgy/tgyPost', 'username=c11111&password=888888', 'post', 'text'); } function onHttpRequestError(e) { console.log(e); } function onHttpRequestProgres...

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

3449. websocket连接出错 [ 49%]

...Event.CLOSE, this, closeHandler); //关闭事件 this.socket.on(Laya.Event.ERROR, this, errorHandler); //连接出错 function openHandler(event){ //正确建立连接 this.socket.send('foo','OOOO'); } function receiveHandler(msg){ console.log(event); //接收到数据触发函数 // socket.emit('lo...

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

3450. 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [ 49%]

这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null 请问这个什么意思? 怎么办呢? 好像跟这个有关系? Laya.Utils.fitDOMElementInArea laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null     at Sprite.fromImage (laya....

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