大约有 654 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(598) Laya2.0_文档(19) Laya3.0_文档(12) Laya2.0_示例(8) Laya_示例(8) Laya3.0_api(5) laya_api(2) Laya2.0_api(2)
...加载fnt动态字体报错 chrome下没问题,加载的时候就是Laya.loader.load的方式加载,请问有没有什么解决办法,IDE是1.7.7beta 附件 : --> 2017-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20170731
...行缓存处理,然后下次播放声音时直接从缓存获取。 Laya.loader.load([{url:"xxx.mp3",type:Loader.SOUND}],Handler.create(this,onComped)) 2016-12-13 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 feini 相关问题 两个...
来源: Laya_社区 发布时间: 20161213
...接 提交 1 个回复 cuixueying 赞同来自: 预加载资源请用Laya.Loader.load,卸载资源请用Laya.Loader.clearRes,具体示例请参考:http://layaair.ldc.layabox.com ... leton 2017-03-20 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170320
...信 nevercai 赞同来自: 138*****161 这就是prefab的功能了。Laya.loader.load([{url:"prefab/ButtonA.json", type:Laya.Loader.PREFAB}], Laya.Handler.create(this, ()=>{ let prefab = Laya.loader.getRes("prefab/ButtonA.json") as Laya.Prefab; let o:Laya.Button = prefab.create(); o.zOrder = 1000...
来源: Laya_社区 发布时间: 20190210
... // 程序入口 class GameMain{ constructor() { Laya.init(1280,720); Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loaded,null)); } private loaded():void{ var img:Laya.Image = new Laya.Image(); img.skin = "comp/img_pro.png"; Laya.stage.addChild(...
来源: Laya_社区 发布时间: 20170327
...ite3D = Laya.Sprite3D.load("res/partical1/sceneFXMaker.lh"); 报错 Error: LoaderManager:unknown file(res/partical1/Assets/IGSoft_Tools/FXMaker/ToolResource/Texture/MapGrid.psd) extension with: psd. at LoaderManager.__proto._create (file:///C:/Users/borui/Desktop/Cube3D/bin/libs/laya.core.js:13120:1...
来源: Laya_社区 发布时间: 20180328
...dData = [ { "url": 'res/atlas/main.atlas', "type":Laya.loader.ATLAS }, { "url": 'res/atlas/newUser.atlas', "type":Laya.loader.ATLAS }, { 'url': "res/atlas/role_skin.atlas", "type":Laya.loader.ATLAS }, { 'url': "res/atlas/number.atlas&q...
来源: Laya_社区 发布时间: 20180525
...作用问题-解决办法 富文本下划线绘制bug laya2.0ide 显示bug Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug 又发现一个惊天大bug EffectAnimation Bug 射线惊天大bug之Cannon 问题状态 最新活动: 2020-06-30 14...
来源: Laya_社区 发布时间: 20200628
...关的链接 提交 1 个回复 cuixueying 赞同来自: z1071051378 Laya.Loader.load的第三个参数Laya.Loader.ATLAS加上看下,如果还不行,可以上传下你的Demo,我们看下! 2017-06-06 1 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请...
来源: Laya_社区 发布时间: 20170606
....load("res/room.lh");//方法二:预加载,创建为Sprite3D类型Laya.loader.create("res/room.lh",Laya.Handler.create(this,this.onCreateComplete));//预加载完成后回调private onCreateComplete():void{//实例化加载并创建好的3D对象var sprite3D:Laya.Sprite3D = Laya.loader.getRes("r...
来源: Laya_社区 发布时间: 20180817