Difference between revisions of "Room geometry"
(Created page with "Internally, the game uses resolution 140×200. The screen area is used the following way: * 140 horizontal pixels are divided into 10 room tiles, 14 pixels each. * 200 vertica...") |
|||
Line 9: | Line 9: | ||
{| class="wikitable" | {| class="wikitable" | ||
− | ! Title || X displacement, <br>game pixels || | + | ! Title || X displacement, <br>game pixels || Duration, <br> frames || Animation |
|- | |- | ||
| Crouch || 3 || 3 || [[File:Sit1.gif]] | | Crouch || 3 || 3 || [[File:Sit1.gif]] |
Latest revision as of 13:50, 23 January 2021
Internally, the game uses resolution 140×200. The screen area is used the following way:
- 140 horizontal pixels are divided into 10 room tiles, 14 pixels each.
- 200 vertical pixels are divided into 3 63-pixel tiles, plus 3 pixels from the room above, plus 8 pixels for a status line.
When the game runs in VGA mode, the actual screen resolution is 320×200. The horizontal screen resolution doesn't match the game resolution, meaning that moving an object (e.g. kid or guard) 1 game pixel left or right will result it to be moved by 2px or 3px on the screen.