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

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

251. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 63%]

...面单独建立文件夹打包)             Laya.loader.load("res/atlas/gameUI.atlas",Handler.create(this,this.gameStart));                                   } 2018-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

252. 当使用Image作为一个对象的遮罩时,设置Image的ScaleX为0时遮罩失效! [ 63%]

...GameMain{ constructor() { Laya.init(1280,720); Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loaded,null)); } private loaded():void{ var img:Laya.Image = new Laya.Image(); img.skin = "comp/img_pro.png"; Laya.stage.addChild(img); var imgMask:Laya....

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

253. laya/assets下文件打图集问题 [ 63%]

laya/assets下文件打图集问题 图集是成功打到bin/res/atlas 目录下,但是 bin/fileconfig.json 却并没有更新, 导致进入游戏还是访问不到头文件,Failed to load resource: net::ERR_FILE_NOT_FOUND [ 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

254. .ani文件能预加载吗? [ 63%]

.ani文件能预加载吗? atlaspng都是预加载的,结果发现还有个.ani文件,想预加载它,否则播放特效延迟啊。 //播放模块remove特效 var ani:Animation = new Animation(); ani.loadAnimation("ani/TX001.ani"); //动画播放完的事件 ani.on(Laya.Event.COMPLETE,t...

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

255. 发现TimeLine的一些问题,像是BUG [ 63%]

...); Stat.show(); //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //实例UI界面 Laya.stage.bgColor="#353535"; sp1=createSprite(50,50);//创建方块1 sp2=createSprite(250,50);//...

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

256. 2.0下资源加载销毁内存问题 [ 63%]

...资源释放不掉  我已经升级到最新的2.0.2  具体怎么释放atlas图集呢 郁闷死了 搞了好长时间了 也没有具体的教程 2019-04-28 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: (getRes(“xxx”) as Laya.Resource).destroy 2019-04-29 0 2 分享 微博 QZONE ...

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

257. MiniAdpter.nativefiles 设置本地加载altlas、json、fnt等文件类型无效 [ 62%]

...载altlas、json、fnt等文件类型无效 MiniAdpter.nativefiles = ['xxx.atlas', 'xxx.json', 'xxx.fnt']Laya2.2.0beta2,当设置以上文件为本地加载时,没有效果,如果是图片声音等文件,没有问题。Laya2.1.1及以前的版本一切正常,希望能改回来,谢谢~ 20...

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

258. 富文本使用图集 [ 62%]

...der.load("res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS);  public function createAnimation():void         {             var appendHtml:HTMLDivElement=new HTMLDivElement();             appendHtml.innerHTML="aa==<ani src='res/1.png'></ani>"...

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

259. 优化文字图集,复用webGlCharImage [ 62%]

...aya的图集只能是.png吗? 如何加载图集、销毁图集(images.atlas,images.json,images.png),如何获取图集里面的小图 问题状态 最新活动: 2019-10-23 15:52 浏览: 1027 关注: 1 人

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

260. 使用laya官方示例代码制作微信小游戏无法显示 [ 62%]

...urceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded)); } function onLoaded(): void { //实例UI界面 new laya.UI_Label(); }   上图为在layaIDE中的显示效果。   不知道具体是什么原因,希望得到大家的...

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