大约有 383 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0038 秒)
Laya_社区(319) Laya2.0_文档(40) Laya3.0_文档(12) Laya2.0_示例(4) Laya_示例(4) Laya3.0_api(2) Laya2.0_api(2)
...时间轴动画如何设置播放一次后消失? 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-17 添加评论 免...
来源: Laya_社区 发布时间: 20180117
...= 'exactfit'; Laya.stage.screenMode = 'horizontal'; Laya.loader.load(['res/atlas/view.atlas'], Handler.create(this, initGame)); Laya.timer.frameOnce(1, this, function () { Laya.stage.on(Event.RESIZE, this, function () { window.location.reload(); }) }) 2018-04-16 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20180416
...问题 // 程序入口 Laya.init(800, 800); Laya.loader.load([{ url: "res/atlas/comp.json", type: Loader.ATLAS }], Handler.create(this, this.onLoaded)); function onLoaded(): void { //实例UI界面 var testUI: TestUI = new TestUI(); Laya.stage.addChild(testUI); let vhvt: ViewHeadViewTest = new ViewH...
来源: Laya_社区 发布时间: 20170822
...停止正在播放的背景音乐 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 【3D动画播放】 关于islooping覆盖问题,想请教一下 访问服务器上的H5,播放具有中文名的音乐时报错 问题状态 最新活动: 201...
来源: Laya_社区 发布时间: 20180402
...indow.wx.onMessage(function(data){//微信接受信息 if(data.url == "res/atlas/test.atlas" || data.url == "test/1.png" ||data.url == "test/2.png"||data.url == "test/3.png"){ mark ++; console.log("------data.url:" + JSON.stringify(data.url)); if(mark == 4)//确认数据全部接收后 Laya.loader.l...
来源: Laya_社区 发布时间: 20190307
...,字体模糊是什么原因? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 使用CreateHeightMap脚本生成高度图的时候,高度图旋转了90°是什么原因? 资源管理器中的图片个别显示不打包,是不是不能...
来源: Laya_社区 发布时间: 20170322
...效果不同,想知道为什么 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 问题状态 最新活动: 2018-03-29 14:39 浏览: 5000 关注: 3 人
来源: Laya_社区 发布时间: 20170118
...packageFileExtension = "json"; Laya.loader.load([ { url: "res/Basics_atlas0.png", type: Laya.Loader.IMAGE }, { url: "res/Basics.json", type: Laya.Loader.BUFFER } ], Laya.Handler.create(this, this.onLoaded)); } onLoaded(): void { console.log('===================ss'); ...
来源: Laya_社区 发布时间: 20191030
...Loaded的bug LayaAirIDE1.7.9 function test(){ var arr = [res.popup.atlas("loadingUI"), res.download.bg("bg5")] Laya.loader.load(arr, Laya.Handler.create(this, onComplete)) Laya.loader.clearUnLoaded() Laya.loader.load(arr, Laya.Handler.create(this, onComplete)) } fun...
来源: Laya_社区 发布时间: 20190630
...y1234123 赞同来自: json文件没加载到 Laya.loader.load([{url: "res/atlas/**.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); 像这样加载一下,再打开界面 2017-02-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170208