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

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

1. laya.net.LoaderManager [ 100%]

...载的内容全部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, clas:Class = null, params:Array = null, priority:int = 1, cache:Boolean = true):* 根据clas类型创建一个未初始化资源的对象,随后进行异步加载,资源加载完成...

来源: laya_api 发布时间: 20170929

2. laya.net.LoaderManager [ 97%]

...载的内容全部停止加载。LoaderManager  create(url:*, complete:Handler = null, progress:Handler = null, type:String = null, constructParams:Array = null, propertyParams:Object = null, priority:int = 1, cache:Boolean = true):void 根据clas类型创建一个未初始化资源的对象,随...

来源: Laya2.0_api 发布时间: 20190513

3. Laya.loader.load 如何同时加载图片数组以及json图集 [ 93%]

...ype: Loader.IMAGE}, {url: "images/读取封面.jpg", type: Loader.IMAGE}], Handler.create(this, onLoaded)); 目前只能一张张的图片进行加载 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Moni...

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

4. laya.net.LoaderManager_API3.0 [ 92%]

...turns void create create(url: string | (string | createItem)[], complete?: Handler | null, progress?: Handler | null, type?: string | null, constructParams?: any[] | null, propertyParams?: any, priority?: number, cache?: boolean): void Defined in laya/net/LoaderManager.ts:97 根据clas类型创建...

来源: Laya3.0_api 发布时间: 20231102

5. 关于Laya.loader.load和getRes的问题 [ 90%]

...2:使用drawTexture Laya.loader.load("../../../../res/apes/monkey2.png", Handler.create(this, function():void { var t:Texture = Laya.loader.getRes("../../../../res/apes/monkey2.png"); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); })); ...

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

6. 滤镜-颜色滤镜 [ 90%]

...a.ColorFilter; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; var ApePath = "../../res/apes/monkey2.png"; var apeTexture; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); ...

来源: Laya_示例 发布时间: 20260817

7. 预加载进入游戏界面 [ 89%]

...。          */         public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 2018-04-18 0 0 分享 微博 QZONE 微信 w1114367261 赞同...

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

8. 对象池pool与数组的区别 [ 88%]

...其克隆对象,统计面板的显存和内存就会显示成负数 Laya.Handler.create和new Laya.Handler有啥区别 我用list.array=Array;数据全部插进去数组里了,但是list中没有完全展示数组数据,只展示了其中的图片部分,数组能console出,那个list中的...

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

9. 滤镜-颜色滤镜 [ 88%]

...LE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler.create(this, this.setup)); } setup() { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } normalizeApe() { let originalApe = this.createApe(); originalApe.x = (Laya.stage.width - apeTexture.width * 3) / 2; o...

来源: Laya2.0_示例 发布时间: 20260817

10. 有时候加载一大堆资源的时候某个个别图片资源加载失败如何处理 [ 87%]

...。          */         public function load(url:*, complete:Handler = null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 你可以根据加载回调进行相应的判断,加载失...

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