大约有 220 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
Laya_社区(209) Laya3.0_文档(3) Laya2.0_文档(3) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...等几款手机加载失败,其他手机加载没问题。 使用Laya.loader.create() 加载所有3D资源时加载到20%的时候停止不动了,原来版本没有问题,现在版本vivo x7等机型有问题,小米华为等机型没有问题。模型已经上传到附件了,大神...
来源: Laya_社区 发布时间: 20181214
...Array = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE }, {...
来源: Laya_社区 发布时间: 20180613
...var resourceArray = [ { url:"res/atlas/comp.atlas" , type : Laya.Loader.ATLAS} ]; Laya.loader.load(resourceArray,Laya.Handler.create(null,loadResourceComplete)); } function loadResourceComplete() { Laya.stage.addChild(new LoginView()); } })(); feiguangfu • 2018-03-16 09:55 这个是主...
来源: Laya_社区 发布时间: 20180315
....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init)); 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20180323
...信工具调试库 2.2.1 最新 都是最新的 加载方式:Laya.loader.create 获取方式:scene = Laya.loader.getRes(path) as Scene; 2018-08-02 1 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以 2018-08-02 0 0 分享 微博 QZONE 微信 承 赞同来自: 真的可以么 ...
来源: Laya_社区 发布时间: 20180802
...const res = [{ url: setStaticPrefix("card/card_item_bg.png"), type: Laya.Loader.IMAGE }] /** 添加文件hash */ export const setStaticPrefix = (url:string) :string => { if (staticHash[`images/${url}`]) { return staticHash[`images/${url}`] } return `images/${url}` }然后资源导出的时候使...
来源: Laya_社区 发布时间: 20180412
...代码: import Label = Laya.Label; import Handler = Laya.Handler; import Loader = Laya.Loader; class GameBootstrap{ public constructor(){ this.init(); } private init():void{ //初始化微信小游戏 Laya.MiniAdpter.ini...
来源: Laya_社区 发布时间: 20180529
...on: 修改Laya.URL.basePath,改成加载服务器的资源。再用 Laya.loader.create加载场景资源。为啥在发布的微信小游戏中会报错,模型的网格数据比较大。 Mr.余 • 2018-06-22 18:23 @Laya_Aaron:报的错为 gamethirdScriptError expected Number;at requestAnimation...
来源: Laya_社区 发布时间: 20180622
....loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
来源: Laya_社区 发布时间: 20171116
..., 能否在A项目里加载? 我感觉 应该是在A项目里用Laya.loader加载后, 再加载B.js,这样才合理。 具体代码: private function onAssetLoaded():void { //trace("加载结束"); //实例化类 Example,并添加到舞台显示 Laya.loader.load("js/loading100.js", Handl...
来源: Laya_社区 发布时间: 20170725