大约有 1,292 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1020) Laya2.0_文档(79) Laya3.0_文档(55) Laya_示例(51) Laya3.0_api(44) Laya2.0_示例(39) laya_api(2) Laya2.0_api(2)
...么通过命名方式加载图片? Assigning a Name to a Loading File loader .add("catImage", "images/cat.png") .load(setup); 类似pixi 短名加载使用 2017-07-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20170717
...ya的dcc资源更新吗? 网络资源的帧动画如何做? 调用Laya.loader.load()方法加载资源,怎么获取所加载的资源大小. 多application打包laya获取资源失败导致闪退 问题状态 最新活动: 2017-08-29 12:08 浏览: 739 关注: 2 人 yonghua5416 • 2017-08-29 1...
来源: Laya_社区 发布时间: 20170829
...么删除释放资源? 模型资源释放问题 更改资源路径的URL Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug u3d 资源怎么做才能导入到layabox 里面用 Animation的createFrames为何加载不了有的图集资源 2.0...
来源: Laya_社区 发布时间: 20180112
... EffectAnimation Bug laya 2.0 bug onEnable 分离模式节点没有创建 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug image loadimage 加载网络图片BUG 2.3.0发布微信小游戏,自动缓存:查找不到资源问题的Bug 问...
来源: Laya_社区 发布时间: 20180310
...自: //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); //使用接口...
来源: Laya_社区 发布时间: 20190419
htmlCanvas 像素级操作 function showSprite() { Laya.loader.load("../src/img/testImg.png",Laya.Handler.create(this,graphicsImg)); } function graphicsImg() { //临时sprite var img = new Laya.Sprite(); //img.graphics.drawTexture(Laya.loader.getRes(("../src/img/testImg.png"),0,0)); //获取图片...
来源: Laya_社区 发布时间: 20180413
...看下,谢谢啦,贴上代码。 package { import flash.display.Loader; import flash.display.LoaderInfo; import flash.display.MovieClip; import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flas...
来源: Laya_社区 发布时间: 20170317
....json 那我先引用了LayaUI.max.all.js后,再加载ui.json! Laya.loader.load([ { url: config.layerUIJson, type: Laya.Loader.JSON } ], Handler.create(this, function () { this.gameScenes = new ui.layer.gameScenesUI(); this.addChildren(this.gameScenes); })); 但页面上却没有任何内容...
来源: Laya_社区 发布时间: 20171012
...载了 var resArray = [ {url:"res/atlas/comp.json", type: Laya.Loader.ATLAS}, {url:"res/atlas/assets.json", type: Laya.Loader.ATLAS} ]; Laya.loader.load(resArray, Laya.Handler.create(null,LoadResComplete)); cuixueying • 2017-03-21 16:15 好的,谢谢你的建议,我们会...
来源: Laya_社区 发布时间: 20170317
...。 新建一个粒子,加载就报错。 playQiPaoParticle() { Laya.loader.load('noLanguage/test.part', Laya.Handler.create(this, this.onAssetsLoaded), null, Laya.Loader.JSON); } onAssetsLoaded(settings: Laya.ParticleSetting) { let sp = new Laya.Particle2D(settings); // sp.emitter.start(); /...
来源: Laya_社区 发布时间: 20191227