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

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

51. [LayaAirIDE3]skel骨骼动画播放失败,编辑器预览没问题 [ 61%]

...el骨骼动画播放失败,编辑器预览没问题 复现代码: Laya.loader.load("https://hlsgs.sanguosha.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton();     this.skeleton.templet = templet;     console.log("动画数...

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

52. Laya新增加worker加载 CurlMem比不用worker增加 [ 60%]

...吗? 关于Laya实现Matter.js官方案例凹多边形的问题 请问下loader如何强制加载一个文件,避免浏览器的缓存 Laya 鼠标Cursor怪异问题,有demo 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 小游戏项目 加载有中文的js...

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

53. 引擎示例中的新手引导自己写了一次,不知道为什么无法实现点击。 [ 60%]

...ar step = 0; Laya.init(1285, 727, Laya.WebGL); var stage = Laya.stage; var loader = Laya.loader; stage.bgColor = "#00ffff"; stage.alignH = "center"; stage.alignW = "middle"; stage.scaleMode = "showall"; loader.load("../../res/guide/crazy_snowball.png", Handler.create(this, init)); function init(e) {...

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

54. 微信环境下面Laya.Browser.window.protobuf.load不能读取本地的proto文件 [ 60%]

...72:13)     at http://127.0.0.1:53462/game/code.js:97630:17     at Laya.loader.load.Handler.create (http://127.0.0.1:53462/game/code.js:102231:13)     at Handler.__proto.runWith (http://127.0.0.1:53462/game/code.js:711:59)   查看了应该是微信自带的浏览器内核不支持Function.app...

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

55. 微信小游戏里面开放数据域的资源加载问题 [ 59%]

...nction.MiniFileMgr.readFile (http://127.0.0.1:63435/game/op ... 418:14) at Loader.__proto.load (http://127.0.0.1:63435/game/op ... 115:18) at LoaderManager.__proto._doLoad (http://127.0.0.1:63435/game/op ... 296:10) at LoaderManager.__proto._next (http://127.0.0.1:63435/game/op ... 269:26) at Loader...

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

56. 二次开发 异步回调没反应 [ 59%]

...何反应这么慢,附上demo求解答 Laya.Handler.create 回调 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2019-07-02 11:16 浏览: 1219 关注: 1 人 zpo • 2019-09-05 16:23 请问是怎么解决的呢?我们写了个简单的demo测异步回调是测通的...

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

57. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 58%]

... public function Action() { init(); } private function init():void { Laya.loader.load("../res/zy/zy.json",Handler.create(this,onLoadedSource),null,Loader.ATLAS); } private function onLoadedSource():void { roleAni = new Animation(); playActions(); }   2、你打包图集的时候,.json文件的pre...

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

58. Bitmap引用计数的问题 [ 58%]

...是实际上输出的是1。不知道是不是我的理解有问题还是LoaderManager.load在加载第二张图片直接完成导致useNum++没有执行的问题 2017-04-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 ...

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

59. 微信小游戏手动缓存管理,atlas依然不能从缓存读取 [ 58%]

...以在Laya.MiniAdpter.getFileList()查找到对应缓存   但使用Laya.loader.load预加载图片与atlas时,图片可以正常从usr/layaairGame/中读取 atlas文件依旧从远程读取   如何使atlas从本地路径读取? (虽然atlas文件尺寸不大,但这样不能离线运行...

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

60. 【简单跑酷--JS版】---Lv.6 终篇 [ 56%]

... = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getRes("res/hp_bar.png"); break; } th...

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