大约有 1,588 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(1115) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(52) Laya3.0_api(11) Laya2.0_api(2)
...: 发不完web后 进入游戏 所有的图片都不显示 图片在res里 我路径写res/123.png 2018-02-06 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 发布后应该在bin/h5/res 你发布是怎么做的,有按照官方文档来吗 2018-02-06 0 0 分享 微博 QZONE 微信...
来源: Laya_社区 发布时间: 20180206
... : (图2-2) js目录 与 libs目录: 项目代码和引擎库。 resources目录 与 Scene.ls: resources资源目录和场景文件Scene.ls,小游戏由于初始包的限制,建议将初始包的内容在规划好,最好能放到统一的目录下,便于初始包的剥离。 game.j...
来源: Laya3.0_文档 发布时间: 20251010
...ndefined class: ani 这是我哪里用的不对吗? Laya.loader.load("res/1.json", Handler.create(this, createAnimation), null, Loader.ATLAS); public function createAnimation():void { var appendHtml:HTMLDivElement=new HTMLDivElement(); a...
来源: Laya_社区 发布时间: 20180309
... Laya.stage.bgColor = "#232628"; Laya.loader.load("../../res/bg2.png", Handler.create(this, setup)); })(); function setup() { var bg = new Sprite(); bg.loadImage("../../res/bg2.png"); Laya.stage.addChild(bg); ...
来源: Laya_社区 发布时间: 20170828
...一在GameAni.ani内制作 private var aniArr:Array = [ "res/atlas/role/hero.atlas", "res/atlas/role/monster/monsterA/die.atlas", "res/atlas/role/monster/monsterA/move.atlas" ]; Laya.loader.load(aniArr, Handler.create(this, onAni), null, ...
来源: Laya_社区 发布时间: 20170619
...自动生成3d资源释放列表的json文件 /** * @description 用于将resource转换成json格式 * * @param filePath //目标路径 默认为/(当前目录) * @param outPath //生成的json文件存放目录 默认为/(当前目录) * * @example node res2json * @example node res2json /user/work...
来源: Laya_社区 发布时间: 20180126
...escript //初始化3D场景 var scene = Laya.stage.addChild(Laya.Loader.getRes("res/threeDimen/scene/ChangeMaterialDemo/Conventional/scene.ls")); //从场景获取球型精灵 this.sphere = scene.getChildByName("Sphere"); //获取球型精灵自带的BlinnPhong材质 billinMaterial = this.sphere.mes...
来源: Laya2.0_文档 发布时间: 20210715
...aya.display.Sprite; import laya.utils.Handler; import laya.resource.Texture; public class LayaSample { private var img:Sprite ; private var index:int ; public function LayaSample() { //初始化引擎 ...
来源: Laya_社区 发布时间: 20170918
...动端,Android平台的主流纹理格式是ETC(Ericsson Texture Compression),iOS平台的主流纹理格式是PVRTC(PowerVR Texture Compression)。 需要特别说明的是,ETC1是不支持透明通道的,PVRTC是支持透明通道的,尽管在ETC2的时候,补全了ETC1不支...
来源: Laya2.0_文档 发布时间: 20210714
...光滑度贴图。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图。 `occlusionTextureStrength:Number` 遮挡贴图强度。 `parallaxTexture:BaseTexture` 视差贴图。 `parallaxTextureScale:Number` ...
来源: Laya2.0_文档 发布时间: 20210714