大约有 489 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(403) Laya2.0_文档(47) Laya3.0_api(22) Laya3.0_文档(8) laya_api(3) Laya2.0_示例(3) Laya2.0_api(3)
...白求助,关于时间轴动画如何设置播放一次后消失? Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, onLoaded)); function onLoaded() { var tl = new Laya.Animation(); tl.loadAnimation("democesi.ani"); Laya.stage.addChild(tl); tl.play(); tl.pos(302,650); } 2018-01-1...
来源: Laya_社区 发布时间: 20180117
...件 private _mTiledMap:TiledMap = null; // 自定义信息文件 private _mLoader:Loader = null; // 当前地图X坐标 private _mViewPortX:number = 0; // 当前地图Y左边 private _mViewPortY:number = 0; // 当前加载状态 private _mLoadState:ESceneLoadState = ESceneLoadState.eLoadNull; // 地...
来源: Laya_社区 发布时间: 20180529
...: Error Could not attach to main target 微信小程序里加载json文件 Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug spine动画转换失败,加载错误:导出二进制数据出错:writeUint8 error - Out of range261, 有谁知道什...
来源: Laya_社区 发布时间: 20170914
...ios上js访问不到JSBridge类中的方法,请求官方帮助, 请问下loader如何强制加载一个文件,避免浏览器的缓存 laya3D动画无法播放 视频播放案例 问题状态 最新活动: 2018-03-08 10:59 浏览: 628 关注: 2 人 hodd1988 • 2018-03-08 11:27 就是不能补...
来源: Laya_社区 发布时间: 20180308
... 代码: var ress=[{url:"res/atlas/games/cxmj/shaizi.json",type:Laya.Loader.ATLAS}]; Laya.loader.load(ress); var Animation = Laya.Animation; var dice=new Animation(); ...
来源: Laya_社区 发布时间: 20170105
...n; import laya.display.Stage; import laya.maths.Rectangle; import laya.net.Loader; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class HelloLayabox { private const AniConfPath:String = "../../../../res/role.atlas"; private var roleAni:Animation; public functio...
来源: Laya2.0_文档 发布时间: 20210715
...动画进行单独处理?还是不允许把动画放进预制体? Laya.loader.load("prefab/gk2v1.json",Laya.Handler.create(this,function(pref:Laya.Prefab){ var gkpref:Laya.Prefab = new Laya.Prefab(); gkpref.json = pref; var OBJ = Laya.Pool.getItemByCreateFun("gk2v1",gkpref.create,gkpref); this.S...
来源: Laya_社区 发布时间: 20201022
...还有 我只加载动画使用的资源好想不可以?还有使用Laya.Loader的方式能不能加载ani文件? 问题状态 最新活动: 2018-07-18 10:43 浏览: 1530 关注: 3 人 cllc55 • 2018-07-18 11:53 不知道你们c++ 那边的处理,不是单独开一个线程做的? cllc55 ...
来源: Laya_社区 发布时间: 20180717
...nction text_load_width_height() { Laya.init(600,400); Laya.loader.load(["../laya/assets/comp/image.png","../laya/assets/comp/vscroll.png"],Laya.Handler.create(this,onAssetLoad)); } function onAssetLoad() { older = new Laya.Sprite(); older.loadImage("../laya/a...
来源: Laya_社区 发布时间: 20170118
...32628"; const monkey1Path = "https://layaair2.ldc2.layabox. ... 3B%3B Laya.loader.load(monkey1Path, Laya.Handler.create(this, function() { let monkey = Laya.loader.getRes(monkey1Path); let ape = new Laya.Sprite(); Laya.stage.addChild(ape); ape.graphics.drawTexture(monkey, 0, 0); var tl = new Laya.Ti...
来源: Laya_社区 发布时间: 20190927