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

大约有 383 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0038 秒)

211. 小白求助,关于时间轴动画如何设置播放一次后消失? [ 64%]

...时间轴动画如何设置播放一次后消失? 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

212. Laya IDE横竖屏切换时,不断刷新 [ 64%]

...= '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

213. 子容器的事件问题 [ 64%]

...问题 // 程序入口 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

214. 背景音乐播放结束就报这个错 有人知道么 [ 64%]

...停止正在播放的背景音乐 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 【3D动画播放】 关于islooping覆盖问题,想请教一下 访问服务器上的H5,播放具有中文名的音乐时报错 问题状态 最新活动: 201...

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

215. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 64%]

...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

216. lineCap不起作用,什么原因了? [ 64%]

...,字体模糊是什么原因? IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 使用CreateHeightMap脚本生成高度图的时候,高度图旋转了90°是什么原因? 资源管理器中的图片个别显示不打包,是不是不能...

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

217. 如何知道Laya.Tween.to 完成 [ 64%]

...效果不同,想知道为什么 IDE中自动打包图集后最后在res/atlas中只有json和png没有atlas,不知道原因是什么 问题状态 最新活动: 2018-03-29 14:39 浏览: 5000 关注: 3 人

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

218. vivo小游戏 LayaIDE2.2.0使用fairygui报错 [ 64%]

...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

219. clearUnLoaded的bug LayaAirIDE1.7.9 [ 64%]

...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

220. UI图片资源不显示 [ 64%]

...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