大约有 557 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
...次都会重新下载mp3文件。 即使在调用之前我已调用: Laya.loader.load( {mp3文件}} 2018-05-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Qingbo 赞同来自: 有好心人能帮我们看看吗...
来源: Laya_社区 发布时间: 20180519
...nction LoadRes() { var resArray = [ {url: "res/atlas/comp.json",type: Laya.Loader.ATLAS}, {url: "res/atlas/newhfh.json",type: Laya.Loader.ATLAS}, {url: "res/atlas/newhfh2.json",type: Laya.Loader.ATLAS}, ]; Laya.loader.load(resArray, Laya.Handler.create(null, LoadResComplete)) } function LoadResCompl...
来源: Laya_社区 发布时间: 20170228
...出现大小写的问题.比如本地的场景为LoadingView.ls,通过Laya.loader.load加载Loadngview.ls,本地能正常打开.打包后md5版本管理匹配版本号匹配不上.(PS 没有进行测试,只是遇到了) 3,调试代码的时候出现过,代码修改后保存,然后刷新浏览器,浏...
来源: Laya_社区 发布时间: 20250725
...引擎 Laya.init(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader.clearRes(url); } 微信开发者工...
来源: Laya_社区 发布时间: 20180108
..."; var asset = []; asset.push({ url: ["../res/image/bg.png"], type: Laya.Loader.IMAGE }); Laya.loader.load(asset,Laya.Handler.create(this,graphicsImg)); function graphicsImg(){ var s = new laya.display.Sprite(); s.graphics.drawTexture(Laya.loader.getRes("../res/image/bg.png"),0,0); Laya.stage.ad...
来源: Laya_社区 发布时间: 20180808
急急 在线等 加载xml 后直播无法自动播放 附示例项目 LoaderPolicy.setup(URLResolver.solvePath("files.fst?"), Handler.create(this, function xload() : void { //无法播放 Laya.loader.load(URLResolver.solvePath("config.xml"), Handler.create(this, onConfigLoaded), null, Loader.XML);...
来源: Laya_社区 发布时间: 20171115
...ev-loca ... 483:28) 02-06 14:59:43.858 6545 6658 I LayaBox : at LoaderManager.__proto._endLoad (http://10.0.1.72/game/dev-loca ... 070:11) 02-06 14:59:43.858 6545 6658 I LayaBox : at Loader.onLoaded (http://10.0.1.72/game/dev-local/res/libs/laya layabox 版本: 02-06 14:56:40...
来源: Laya_社区 发布时间: 20180206
...ang + "/shz_nav.png"。。。。。。。】 用这个进行预加载 Laya.loader.load(images, null, Laya.Handler.create(this, onImagesProgress, null, false), Laya.Loader.IMAGE); 但是每次进入都会重新慢慢在加载一次 声音也是一样 2017-02-16 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170216
...从哪里得到了? 在学习粒子教程代码时,有一句是 Laya.loader.load("res/particles/particleNew.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); 其中这个 res/particles/particleNew.part文件是怎么获得的?谢谢 如下图 附件 : --> 2018-03-17 添...
来源: Laya_社区 发布时间: 20180317
...成功后,通过回调方法绘制图片并添加到舞台 Laya.loader.load([this.monkey1,this.monkey2],Laya.Handler.create(this,this.graphicsImg)); } private graphicsImg():void{ //创建一个实例 this.img = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(th...
来源: Laya_社区 发布时间: 20180226