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

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

71. 图片加载失败是什么原因,我该怎么让美术改图 [ 57%]

...resh/hand1.png","fresh/hand2.png"] handani.interval = 150 handani.zOrder = 10000 handani.pos(point.x+50,point.y+30) MainUI.Root.addChild(handani) handani.play(0,true,"handani") 控制台: [warn]Retry to load: fresh/hand1.png [warn]Retry to load: fresh/hand2.png [error]Failed to load: fresh/hand1.p...

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

72. 取handler有概率取错 [ 57%]

... Laya_Aaron 赞同来自: 感谢反馈,先手动改一下吧,后面的10000不要了,然后cid 和mid 用字符串拼接起来 cid +' _' +mid       private _getHandler(caller: any, method: any): LaterHandler {         var cid: number = caller ? caller.$_GID || (caller.$_GID = ILaya.Uti...

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

73. js发布问题 [ 57%]

...自: 建议参照一下文档,2d进阶 性能优化, 里面有for循环10000个控件也不卡,我自己电脑测得可以用8000个,建议参照一下 2018-01-02 0 3 分享 微博 QZONE 微信 15818760256 赞同来自:   可以看看这段代码。。有没有什么问题?如果我加载...

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

74. charRender_Canvas是干啥的,直接加在body底下会引起wcag的报错 [ 57%]

...ntained by landmarks   <canvas width="1024" height="512" style="left: -10000px; position: absolute;"></canvas> 附件 : --> 2022-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 shiyang 赞同来...

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

75. 官方的示例贴上来,怎么没反映啊 [ 57%]

... { JiHuo.super(this); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE, this, completeHandler); xhr.once(Event.ERROR, this, errorHandler); xhr.on(Event.PROGRESS, this, processHandler); xhr.send("https://api.weixin.qq.com/cgi- ... ot%3B, "", "...

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

76. 项目启动之后,就会产生这样的崩溃问题,运行不了了 [ 57%]

...问题,运行不了了 Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a target that matches: file:// 附件 : --> 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Monica...

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

77. 游戏在微信中缓存问题 [ 57%]

... 4 人 yonghua5416 • 2017-09-01 17:10 http://www.shandw.com/pc/game/ ... 10000 关键第一次进入的玩家没有问题的,只有下次更新了资源,再登录才会出现这些问题 yonghua5416 • 2017-09-04 17:27 这个是资源版本控制,这个方法我已经使用过了,加载...

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

78. HttpRequest感觉没有发成功 [ 57%]

... Laya.init(1136,640); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("https://www.baidu.com","","get","text"); function pro...

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

79. 性能测试-卡通人物2 [ 57%]

...g", 0, 0, 1280, 900); createCharacters(); text = new Text(); text.zOrder = 10000; text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.timer.frameLoop(1, this, gameLoop); })(); function createCharacters() { var char; var charSkin; for (var i = 0; i = 0; i--) { characters[i].upd...

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

80. 性能测试-卡通人物2 [ 56%]

..., 0, 1280, 900); this.createCharacters(); text = new Text(); text.zOrder = 10000; text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.timer.frameLoop(1, this, this.gameLoop); } createCharacters() { let char; let charSkin; for (let i = 0; i = 0; i--) { characters[i].update(); }...

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