Difference between pages "Main Page" and "Room geometry"
(Difference between pages)
Line 1: | Line 1: | ||
− | + | 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. | ||
− | |||
− | + | {| class="wikitable" | |
− | + | ! Title || X displacement, <br>game pixels || Duration, <br> frames || Animation | |
− | + | |- | |
− | + | | Crouch || 3 || 3 || [[File:Sit1.gif]] | |
− | + | |- | |
− | + | | Stand up after crouch || 0 || 11 || [[File:Sit2.gif]] | |
− | + | |- | |
− | + | | Jump - no ceiling || 3 || 23 || [[File:Jump1.gif]] | |
− | + | |- | |
− | + | | Jump - has ceiling || 3 || 19 || [[File:Jump2.gif]] | |
− | + | |- | |
− | + | | Standing jump || 39 || 19 || [[File:Standing_jump.gif]] | |
− | + | |- | |
− | + | | Step || 11 || 13 || [[File:Step.gif]] | |
− | + | |- | |
− | + | | Run: starting phase || 14 || 7 || [[File:Run1.gif]] | |
− | + | |- | |
− | + | | Run: left leg || 12 || 4 || rowspan="2" | [[File:Run23.gif]] | |
− | + | |- | |
− | + | | Run: right leg || 14 || 4 | |
− | + | |- | |
− | + | | Run: stopping || 9 || 9 || [[File:Run4.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.