大约有 451 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(343) Laya2.0_文档(55) Laya3.0_文档(25) Laya3.0_api(19) Laya_示例(4) Laya2.0_示例(3) laya_api(1) Laya2.0_api(1)
...怎么一起加载 Native2.0打包apk,在安卓4.2设备必闪退 Laya.loader.create 不会反馈失败状态跟描述不符合 打包apk 运行Uncaught SyntaxError: Unexpected token 问题状态 最新活动: 2018-08-22 21:12 浏览: 852 关注: 2 人
来源: Laya_社区 发布时间: 20180822
...种进度条怎么实现? 希望能介绍下编译as的大致过程 Laya.loader.create 进度回调函数执行两次 问题状态 最新活动: 2017-10-12 19:34 浏览: 845 关注: 2 人 apeCom • 2017-10-12 19:39 谢谢
来源: Laya_社区 发布时间: 20171012
...本,在IDE中新建粒子,然后在游戏中创建就会报错。 Laya.loader.load("xxx.part", Laya.Handler.create(this, (settings: Laya.ParticleSetting) => { let particle = new Laya.Particle2D(settings); }), null, Laya.Loader.JSON); 附件 : --> 2019-08-13 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190813
...用此图集中的某一张图片 打包好一个图集 使用 Laya.loader.load("res/atlas/yaosai.atlas", Handler.create(this, onLoaded)); 加载后,怎么使用此图集里面的 其中一张图片呢 求大佬解答 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180716
...板,urls接收的是图片地址集合,所以我们需要先使用Laya.loader.load()将图集文件先加载进来。下面我们直接看示例代码及注释。 ```typescript // 程序入口 class AtlasAniDemo{ private roleAni:Laya.Animation; constructor() { //初始化舞台 Laya.init(1334,75...
来源: Laya2.0_文档 发布时间: 20210715
...: // 程序入口 class GameMain{ constructor(){ var Loader = Laya.Loader; var Browser = Laya.Browser; var Handler = Laya.Handler; var ProtoBuf = Browser.window.protobuf; Laya.init(550, 400); //加载协议...
来源: Laya_社区 发布时间: 20170216
...代码为: let zipUrl = "resources/files/config.zip"; Laya.loader.load([{ url: zipUrl, type: Laya.Loader.BUFFER }], null, Laya.Handler.create(this, this.onLoadCfg, null, false)).then( (value) => { JSZip.loadAsync(value).then( ...
来源: Laya_社区 发布时间: 20230208
...行域 的详解 如何定义动画播放过某帧后的回调函数 Laya.loader.create 进度回调函数执行两次 Warning!,this class[MiniAdpter] already exist: Object {init: } js调as函数 undifine 怎么停止正在运行Laya.timer.frameLoop的回调函数 load 加载完图集 回调函数...
来源: Laya_社区 发布时间: 20180913
...Laya.View.regComponent("ScaleButton", ScaleButton); Laya.loader.load("res/atlas/com/loading.atlas", Laya.Handler.create(this, this.loadGame)); } private loadGame(): void { var resArray = [ { url: "res/atlas/lobby/cre...
来源: Laya_社区 发布时间: 20181208
...理不被拉伸导致偏差。 增加的修改示例如下: Laya.loader.load("RenderTexture.rendertexture", null, Laya.Handler.create(this, null, null, false)).then(() => { this.spRole.texture = Laya.loader.getRes("RenderTexture.rendertexture"); //设置纹理的宽高为舞台大小,...
来源: Laya_社区 发布时间: 20250109