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

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

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

212. 子容器的事件问题 [ 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

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

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

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

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

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

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

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

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

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

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

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

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

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

220. 在 tiledmap 插入一个精灵在上面 [ 64%]

... init():void{   Laya.init(800, 700, Laya.WebGL);   Laya.loader.load("res/atlas/images.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); }   onLoaded(){   console.info("onLoaded");   this.tiledMap = new Laya.TiledMap();   this.tiledMap.createMap("desert.json", new Laya.Rec...

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