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

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

1. 请问我用网络格式加载成功后,在服务器替换image.atlas和images.png重新打开小游戏没有重新加载服务器的png,只重新加载了atlas [ 100%]

...r resArray = [ //{ url: "https://piggy.com/res/atlas/images.atlas", type : Laya.Loader./png}, { url: "https://piggy.com/res/atlas/images.atlas", type: Laya.Loader.ATLAS }, { url: "https://piggy.com/res/swf/flash.json", type: Laya.Loader.JSON }, { url: "images/background.png", type: Laya.Loader.IMAGE...

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

2. Image属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 98%]

# Image 组件参考 ## 一、通过LayaAirIDE创建Image组件 ### 1.1 创建imageImage 是 UI 里最常见的显示图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实...

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

3. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 98%]

# Image 组件参考 ## 一、通过LayaAirIDE创建Image组件 ### 1.1 创建imageImage 是 UI 里最常见的显示图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实...

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

4. Image属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 98%]

# Image 组件参考 ## 一、通过LayaAirIDE创建Image组件 ### 1.1 创建imageImage 是 UI 里最常见的显示图像的组件,用来显示位图图像。可以设置 Image 组件的 skin 属性来改变 Image 组件呈现的图像。Image 组件支持九宫格数据设定,用于实...

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

5. Bitmap引用计数的问题 [ 96%]

...知,必看!!!不按提问规则的,官方拒绝解答!!! laya针对页游耗用内存大的问题是如何解决的? unity导出粒子文件问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) layaAir TS项目如何引用protoBuf库? 关...

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

6. image.drawToCanvas方法获取的一直是空的png [ 96%]

...即drawToCanvas,加个延迟或者点击行为,譬如 package { import laya.display.Sprite; import laya.display.Stage; import laya.resource.HTMLCanvas; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaAirDemo { private var i...

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

7. 如何加载图集、销毁图集(images.atlas,images.json,images.png),如何获取图集里面的小图 [ 96%]

...找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 飞蛾扑火   加载图集https://ldc.layabox.com/doc/?nav=zh-as-2-2-0销毁,https://ldc.layabox.com/doc/?nav=zh-as-3-2-7 2018-05-30 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复...

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

8. png使用base64显示异常 [ 95%]

...nction () { // image.onload = null; // image.onerror = null; // var data = Laya.Texture2D._parse(image); // data._url = "sdfasf" // _this.onLoaded(data); img=HTMLImage.create(image.width,image.height,1); img.loadImageSource(image,true); img._setCreateURL(url); _this.onLoaded(img); }; var url = _this...

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

9. 部分IOS机型在加载mp3音频文件时出错,资源加载异常 [ 95%]

...载异常 重现地址:  http://192.168.1.193:8901/bin/index.html  在Laya 2.1.0 IDE中, 游戏初始化的时候加载了图片和音频资源,加载方式如下: var resArray: Array<any> = [             { url: "res/atlas/Images.atlas", type: Laya.Loader.ATLAS },   ...

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

10. 性能测试-卡通人物2 [ 94%]

Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...

来源: Laya_示例 发布时间: 20240929