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

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

511. LayaAir能否发布成网站下的小画布 ? [ 69%]

...一些动画,声音和简单交互,这个 <script src='main.max.js' loader='laya'></script>该怎么理解 ? 2016-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: @la...

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

512. 自定义loadingView [ 69%]

...进行进度值传参 dd.loading(50); } //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } 这里的dd=__JS__("window.loadingView"); 换成 ts 怎么写 Apple • 2018-04-16 16:22 直接 Laya.Brows...

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

513. BitmapFont的loadFont方法的回调问题 [ 69%]

...lete如果成功,返回本身,如果失败,返回null 建议:使用loader加载位图字体,不用自己调用BitmapFont接口,错误处理方式和loader相同 在1.7.14beta版本就可以使用了,你可以关注下版本更新日志。多谢反馈~~   2017-12-22 0 2 分享 微博 Q...

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

514. 加载.lh文件 运行后黑屏 无法显示 [ 68%]

...nkey/LayaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}];     //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete));         Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete));     }     public onCompl...

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

515. 图集制作与使用详解(ActionScript-IDE篇(AS3)-使用IDE创作) [ 68%]

...的示例代码为: ```typescript //atlas方式图集使用示例 Laya.loader.load("./res/atlas/test.atlas", Handler.create(this, onLoaded)); ``` `.json`是一种兼容第三方的图集配置方式,由于`.json`文件应用广泛,不仅仅用于图集,所以为了识别是否为图集配置...

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

516. 生成的粒子特效怎么设置colorComponentInter无效? [ 68%]

...uper(this); letter = letter; this.loadImage('res/jiezou/wenzi2.png'); Laya.loader.load("res/parts/qipao.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } function onAssetsLoaded(settings) { settings.colorComponentInter = true; sp = new Particle2D(settings); sp.emitter.start(); sp.pl...

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

517. meshRender修改材质问题 [ 68%]

... (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:483:28) at LoaderManager.__proto._endLoad (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12841:11) at Loader.onLoaded (file:///E:/LayaWorkspace/javaScriptLaya/bin/libs/laya.core.js:12818:10) at EventHandler.__proto.runWi...

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

518. 微信小游戏downLoadFile手动缓存的文件存在哪里?后续后续怎么load和getres [ 68%]

...wnloadfile一些资源,请问这些资源存储的路径?后续用Laya.loader.load 和 Laya.loader.getres时,传入的路径参数是? 2018-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复   赞同...

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

519. JS里面定义一个函数,无法使用Laya.Handler.creat回调 [ 68%]

...tance = this; } onTxtLoad(aText){ console.info("dfasd"); } initTxt(){ Laya.loader.load("res/localtxt.txt",Laya.Handler.create(this, onTxtLoad),null,Loader.TEXT); } } 2019-01-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1...

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

520. 加载配置json文件不成功!json文件放在bin目录下的 [ 68%]

加载配置json文件不成功!json文件放在bin目录下的   Laya.loader.load(["res/atlas/comp.atlas","res/atlas/popup.atlas","res/atlas/cartoon.atlas","res/atlas/miner.atlas","gameConf.json"],Laya.Handler.create(this,onloaded),null,null); 2018-07-23 添加评论 免费帖 --> 分享 微博...

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