Room geometry

From Princed Wiki
Revision as of 09:47, 23 January 2021 by Crem (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.


Title X displacement,
game pixels
Length in frames Animation
Crouch 3 3 Sit1.gif
Stand up after crouch 0 11 Sit2.gif
Jump - no ceiling 3 23 Jump1.gif
Jump - has ceiling 3 19 Jump2.gif
Standing jump 39 19 Standing jump.gif
Step 11 13 Step.gif
Run: starting phase 14 7 Run1.gif
Run: left leg 12 4 Run23.gif
Run: right leg 14 4
Run: stopping 9 9 Run4.gif