Code: Select all
ROOM
1 - room number, starting from 0.
7 - x coordinate, starting from 0. 0 is the leftmost position a room can have. 1 moves it 35 px to the right, moves it 70 px and so on.
8 - y coordinate, starting from 0. 0 is topmost position. Same as x, each number moves a room by 35 px.
2 - width of a room. you can use any but the game expects 1 or 2 only. each value represents a 35x35 px block.
1 - height of a room. save as above.
DOOR
2 - x coordinate. same as rooms.
2 - y coordinate. same as rooms.
0 - number of room to the left, or above the room you are connecting to (except for airlocks. use number of room you are connecting to in that case).
1 - number of room you are connecting to (except for airlocks. use -1 in that case).
1 - is the door horizontal (0) or vertical (1).
If airlocks dont work, probably the order of conected rooms is reversed.