| 12345678910111213141516171819202122 |
- //Constants用来存储游戏常量
- //Canvas.x = 360 Map.x =-1500
- //转换坐标都EditorUI的大概偏移量
- const EditorOffset = 1100;
- //map的偏移坐标
- const MapNodeX = 4140;
- const MapNodeY = 5000;
- const MoveX = 1500;//2700;
- const MoveY = -600;//250;
- //TileMap的长和宽是 32 ,Astar
- const TileMapWith = 32;
- module.exports = {
- EditorOffset: EditorOffset,
- MoveY: MoveY,//移动边界设置
- MoveX: MoveX,
- TileMapWith: TileMapWith,
- }
|