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

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

141. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 32%]

...       Original Texture Type    ---   需要转换格式的原始纹理类型                          Non-PNG|JPG       非png| jpg 格式贴图,现在支持 tga,psd,gif,tif,bmp,exr格式                          PNG                      ...

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

142. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 23%]

...代码  (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; Floor.__super.call(t...

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

143. 【简单跑酷--JS版】---Lv.6 终篇 [ 23%]

...出来  (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面...

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

144. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 18%]

...处理是 /**          * json文件读取成功后,解析里面的纹理数据,进行加载          * @param    e JSON数据          */         private function onJsonComplete(e:*):void {             _mapSprite = new Sprite();             Laya.stage...

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

145. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 18%]

...时候做一些自动化处理,比如导入图片时自动设置为精灵纹理,设置压缩格式等,这时可以使用IAssetProcessor接口,接口的定义如下: export interface IAssetProcessor { //在图片资源被导入前调用 onPreprocessImage?(assetImporter: IImageAssetImporter)...

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