大约有 33 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0103 秒)
...nimation(); this.aniBody.interval = this.frameNum; Map.getInstance().heroSprVI.sprCon.addChild(this.aniBody); this.aniWeapon = new Animation(); this.aniWeapon.interval = this.frameNum; Map.getInstance().heroSprVI.sprCon.addChild(this.aniWea...
来源: Laya_社区 发布时间: 20170615
...www.devthought.com/2012 ... hash/ http://www.2ality.com/2012/01/objects-as-maps.html http://ryanmorr.com/true-hash-maps-in-javascript/ Until then, or even after, you should look to bare objects for all your basic hash map needs.
来源: Laya_社区 发布时间: 20160805
用tiledmap导出的json文件为何加载不成功? 我是用tiledmap做了一个地图,就是用一张大的图片放进去导出json,但是用实例中的方法加载没效果?还是没有显示。。 var tiledMap = new Laya.TiledMap(); tiledMap.createMap("map/map.json",new Rectangle(...
来源: Laya_社区 发布时间: 20170918
LayaBox加载TiledMap地图和注意事项 最近在自学游戏开发,自学了几天Tiled Map Editor的使用,上手做了一个小地图demo,尝试在Laya中加载,今天把需要注意的地方和大家分享一下。先看一下效果图。 先说下建地图时需要注意的点...
来源: Laya_社区 发布时间: 20190321
...包中使用的类,不会添加引用到199行,而导致未定义。如MapGridData我又一个类在定义在分包中,在主包中使用,会在199行插入 一句 var MapGridData=engine.map.MapGridData; 但是 如果该类只是在分包中使用,那么就没有这一行,当使用的地...
来源: Laya_社区 发布时间: 20170703
...ules\vscode-chrome-debug-core\out\src\chrome\variables.js:131:19) at props.map.prop (d:\Program Files\LayaIDE\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:120:43) at Array.map (native) at Object.getObjectPreview (d:\Program Files\LayaIDE\resou...
来源: Laya_社区 发布时间: 20171203
...本,加载场景出现的bug 加载:Laya.loader.create("Laya/Conventional/Map_SCC.ls",Laya.Handler.create(this,this.LoadCompleteHandler)); 加载完成后: var scene3D:Laya.Scene3D = Laya.loader.getRes(this.mSceneName) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常: TypeError: node._setParent...
来源: Laya_社区 发布时间: 20181031
...来,设为none又会显示出来 LayaAir3D/BlinnPhong材质添加Normal Map后物体变黑 设置cacheAs为normal,测试中Sprite数量没有减少 matter用Render.create()创建渲染器时里面参数因该放在options[]里还是放到外面 /*[COMPILER OPTIONS:ForcedCompile]*/ 和/*[COMP...
来源: Laya_社区 发布时间: 20170513
...| Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properties Hide Inherited Public Properties Show Inherited ...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames MapLayerProperties | Methods | Events Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是...
来源: laya_api 发布时间: 20170929