大约有 1,584 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(1113) Laya2.0_文档(231) Laya_示例(108) Laya2.0_示例(69) Laya3.0_文档(50) Laya3.0_api(11) Laya2.0_api(2)
...Rectangle(0, 0, Laya.stage.width, Laya.stage.height); this.tMap.createMap("res/mario_map/new_map2.json", viewRect, Laya.Handler.create(this,this.initMap)); } private initMap(): void { var layer = this.tMap.getLayerByIndex(9); var gs = layer.getObjectByName('others1'); var sp: Laya.Sprite = new Laya....
来源: Laya_社区 发布时间: 20190214
...ledMap = Laya.TiledMap; let tiledMap = new TiledMap(); tiledMap.createMap("res/tiledMap/orthogonal-test-movelayer.json", new Laya.Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } } new TiledMap_AnimationTile();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; im...
来源: Laya2.0_示例 发布时间: 20251209
.../ 以下图片资源来自“引擎API使用示例”项目 this.skins = ["resources/res/ui/button-1.png", "resources/res/ui/button-2.png", "resources/res/ui/button-3.png", "resources/res/ui/button-4.png", "resources/res/ui/button-5.png", "resources/res/ui/button-6.png"]; // 计算将Button至于舞...
来源: Laya3.0_文档 发布时间: 20251010
...片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); data.push("res/1.jpg"); } rankList.array = data; function updateItem(cell, index) { cell.setImg(cell.dataSource); } 发布小游戏将code.js 发到开放域设置...
来源: Laya_社区 发布时间: 20180416
...his.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/t2.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), Handler.create(this, this.mapLoaded), null, new Point(1600, 800)); } private onStageClick(): void { ...
来源: Laya_社区 发布时间: 20201230
...3; //生成阴影贴图尺寸 directionLight.shadowResolution = 2048; //生成阴影贴图数量 directionLight.shadowPSSMCount = 1; //模糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 3; Laya.loa...
来源: Laya_社区 发布时间: 20180725
...现场景加载错误问题 VM59:164 Error: not node js file system!path:res/base/Assets/Animator/gamewin-gamewin.lani; go __invokeHandler__ Error: not node js file system!path:res/base/Assets/Animator/gamereset-gamereset.lani; go __invokeHandler__ VM59:164 Error: not node js file system!path:res/ba...
来源: Laya_社区 发布时间: 20200623
... var data: Array = []; for (var i: number = 0; i < 10; ++i) { data.push("res/ui/listskins/1.jpg"); data.push("res/ui/listskins/2.jpg"); data.push("res/ui/listskins/3.jpg"); data.push("res/ui/listskins/4.jpg"); data.push("res/ui/listskins/5.jpg"); } list.array = data; } private updateItem(cell: Item,...
来源: Laya2.0_文档 发布时间: 20210715
...eTemp.buildArmature(1); Laya.stage.addChild(roleAni); }) roleTemp.loadAni('res/spine/knight/effect1.sk'); SK动画已经预加载了:Laya.loader.load(['res/spine/knight/effect1.png', 'res/spine/knight/effect1.sk'], Handler.create(this, init));
来源: Laya_社区 发布时间: 20171116
...,打开2D游戏没问题,但打开3D游戏就报错: android.content.res.Resources$NotFoundException: String resource ID #0x0 at android.content.res.Resources.getText(Resources.java:322) at android.content.res.Resources.getString(Resources.java:420) at android.content.Context.getString(Context...
来源: Laya_社区 发布时间: 20190108