大约有 149 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0036 秒)
Laya_社区(94) Laya3.0_api(22) Laya2.0_文档(11) Laya2.0_示例(6) Laya_示例(6) Laya3.0_文档(4) laya_api(3) Laya2.0_api(3)
...用,那么就没有这一行,当使用的地方还是直接 this.data= new MapGridData();这样就导致了未定义错误。 目前手动添加可以解决 附件 : --> 2017-07-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20170703
...cter 代码如下: //创建TiledMap实例 this._tMap = new TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(); console.log(this._tMap); //创建TiledMap地图 ...
来源: Laya_社区 发布时间: 20200815
...叠 要回复问题请先登录 发起人 Heured 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList 分享一个流光的shader 如何获取一个3D...
来源: Laya_社区 发布时间: 20240109
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929
....bgColor = "#232628"; createMap(); })(); function createMap() { tiledMap = new TiledMap(); tiledMap.createMap("../../res/tiledMap/perspective_walls.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } })();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap;...
来源: Laya_示例 发布时间: 20260106
...onst TiledMap = Laya.TiledMap, Rectangle = Laya.Rectangle; this.tiledMap = new TiledMap(); this.tiledMap.createMap("res/tiledMap/perspective_walls.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } } new TiledMap_PerspectiveWall();module laya { import Stage = Laya.Stage; impor...
来源: Laya2.0_示例 发布时间: 20260106
...reateMap(); } createMap() { const TiledMap = 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;...
来源: Laya2.0_示例 发布时间: 20260106
....bgColor = "#232628"; createMap(); })(); function createMap() { tiledMap = new TiledMap(); tiledMap.createMap("../../res/tiledMap/orthogonal-test-movelayer.json", new Rectangle(0, 0, Laya.stage.width, Laya.stage.height), null); } })();module laya { import Stage = Laya.Stage; import TiledMap = Laya.T...
来源: Laya_示例 发布时间: 20260106
...is.tiledMap.createMap("../laya/assets/map/orthogonal-test-movelayer.json", new Rectangle(0, 0, 5000, 5000),new Laya.Handler(this,this.finishLoadMap)); Rectangle设置太小,分开加载了,加载会从下开始加载,导致上面的会盖上去 2018-03-26 0 0 分享 微博 QZONE 微信 q...
来源: Laya_社区 发布时间: 20180326
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929