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

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

361. 使用IDE生成图集后,无论使用图集下的某个小图 [ 69%]

...生成图集后,放到img/assets目录下 然后这样使用:   Laya.loader.load([{ url : 'http://localhost:3000/shoot/v2/img/assets/assets.json', type : Loader.ALTAS }], Handler.create(this, function () { var _getRes = Laya.loader.getRes('bg-toolbar.png'); console.log(_getRes); }));然后log...

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

362. timeline destroy的bug [ 68%]

...bug之Cannon image loadimage 加载网络图片BUG 2.3.0bata1 出现BUG. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug laya2.0ide 显示bug 问题状态 最新活动: 2017-06-12 12:23 浏览: 958 关注: 2 人

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

363. 图集版本加载问题 [ 68%]

...omp.atlas?version=1.0.0",                             type: Loader.ATLAS                       };Laya.loader.load(obj); 引擎自动加载的png地址是res/atlas/comp.png, 而不是res/atlas/comp.png?version=1.0.0   这个能不能解决(一个项目加载另一个项...

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

364. 加载不了模型 [ 68%]

...ao Ss.png");         box.meshRender.material = material;       Laya.loader.create("cj\cj-default001.lm",Laya.Handler.create(this,this.onCreateComplete));       function onCreateComplete() {    var mesh = Laya.loader.getRes("cj\cj-default001.lm");   var meshSprite3D = new Laya.MeshSprite...

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

365. 微信加载文件失败没有回调 [ 68%]

...的版本版本管理(会重命名文件名称的)   例子代码: LoadError(){console.log("LoadError")} LoadOK(){console.log("LoadOK")}   Laya.loader.on(Laya.Event.ERROR,this,this.LoadError) Laya.loader.load("不存在的图片URL",Laya.Handler(this,this.LoadOK));     发布成微信小...

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

366. 声音放在CDN上,在微信无法播放 [ 68%]

...个回复 岁寒心 赞同来自: 发现了,不是加载不了,是Laya.loader.load()这个返回时,还没有加载成功。。。所以在他的回调中,不能播放 2020-04-20 0 1 分享 微博 QZONE 微信 176*****020 赞同来自: 解决了没 2020-07-11 0 0 分享 微博 QZONE 微信 L...

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

367. 子容器的事件问题 [ 68%]

...r引擎 子容器的事件问题 // 程序入口 Laya.init(800, 800); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); let vhvt: Vi...

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

368. [0]laya-zip游戏加载提速库(Laya3.0版本适配更新) [ 68%]

...res/3d/Player.zip,则使用方法为[code]// Laya 2.x及以下版本 Laya.loader.create([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code][code]// Laya3.x版本 Laya.loader.load([{ url: "res/3d/Player.zip", type: LayaZip.ZIP}])[/code] 加载资源使用:[code]// Laya 2.x及以下版本 let pla...

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

369. Laya1.7.20如何加载3d资源? [ 68%]

...载速度慢 小游戏项目 加载有中文的json文件 报错 请问下loader如何强制加载一个文件,避免浏览器的缓存 本地调试加载本地图片都报错 模型资源释放问题 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 Animation ...

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

370. 1.7.17beat bug [ 68%]

... 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 关于laya无法缓存非图片、声音文件bug 2.0iDE bug laya2.0ide 显示bug image loadimage 加载网络图片B...

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