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

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

671. Laya.Animation.createFrames,用图集url加载的播放顺序不对,用图集Array加载的播放顺序对,咋回事? [ 45%]

...png"], "fish_live_16"); //播放不正常 Laya.Animation.createFrames("res/atlas/fish/fish_16.json", "fish_live_16"); 2017-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Monica - 知识达人 赞同来自: ...

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

672. 垂直布局容器组件 · LayaAir3.0文档 · LAYABOX [ 45%]

... private btn3: Laya.Button; // 按钮皮肤资源 private skins: string = "atlas/comp/button.png"; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); this.createvbox();...

来源: Laya3.0_文档 发布时间: 20230922

673. 微信小游戏的50M物理缓存管理(TypeScript-小游戏适配文档-微信小游戏) [ 45%]

...am fileType 文件类型(image、text、json、xml、arraybuffer、sound、atlas、font) * @param callBack 文件加载回调,回调内容[errorCode码(0成功,1失败,2加载进度) * @param encoding 文件编码默认 ascill,非图片文件加载需要设置相应的编码,二进制编码为...

来源: Laya2.0_文档 发布时间: 20210714

674. 今天发现的关于laya.wxmini.js的问题 [ 45%]

...,到底想要干嘛??导致的bug就是从本地用户文件夹加载atlas会失败。需要做修改。   2.downFiles函数,这个函数也很迷。如果我手动下载了一个zip包,解压到用户文件夹后设置url.basePath,然后正常调用loader类的,这会又把文件copy...

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

675. 水平布局容器组件 · LayaAir3.0文档 · LAYABOX [ 45%]

... private btn3: Laya.Button; // 按钮皮肤资源 private skins: string = "atlas/comp/button.png"; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then(() => { this.createBtn(); this.createHbox();...

来源: Laya3.0_文档 发布时间: 20230922

676. 使用Laya.URL.basePath后,拼接的UI就加载不了一些本地图片了,wxlocal文件夹要怎么用? [ 45%]

...地的图集放在wxlocal文件夹下,然后进入程序时加载那个atlas文件,可是有些ui图片显示不出来 2018-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 小游...

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

677. laya.display.Animation [ 45%]

...是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boole...

来源: Laya2.0_api 发布时间: 20190513

678. Laya.HTMLDivElement解析img标签报错 [ 45%]

...new Laya.HTMLDivElement();         div.innerHTML="<img src='res/atlas/test.png'/>"         Laya.stage.addChild(div);     } TypeError: Illegal constructor laya.core.js:11687     at Function.getInstance (file:///D:/work/test2/bin/libs/laya.core.js:11687:24)     at Functio...

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

679. 微信小游戏常见问题汇总(10.25更新)(TypeScript-小游戏适配文档-微信小游戏) [ 45%]

...3ds、mp3、pvr、wav、plist、ttf、fnt、gz、ccz、m4a、mp4、bmp、atlas、swf、ani、part、proto、bin、sk、mipmaps、txt、zip、tt、map、ogg、silk、dbbin、dbmv、etc、lmat、lm、ls、lh、lani、lav、lsani、ltc。 #### 2、为什么游戏在一些机型上边缘有锯齿? 在...

来源: Laya2.0_文档 发布时间: 20210715

680. 关于ios下的错误 [ 44%]

...:转换失败---chitianshishoux--加载错误,xxx/xxx/chitianshishoux.atlas 问题状态 最新活动: 2018-04-09 12:11 浏览: 1045 关注: 3 人 shiyang • 2018-04-09 13:05 只能刷新吗,有没有停止渲染,然后恢复渲染的API Apple • 2018-04-09 13:45 可以尝试stage.renderin...

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