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