|
- Distance is measured in yards, while speed is measured in yards per second. In this case, a yard is defined as the distance between opposite corners of a sub-tile [1], into which the world surface is normally invisibly divided, like a chess board: a yard measures 32 pixels horizontally and 16 pixels vertically due to the game's isometric graphics.
Enlargement of a single sub-tile.
- Consequently, the dimensions of the visible screen are as follows:
Resolution
|
Visible Area
|
Pixels
|
Yards
|
640 x 480 |
640 x 432 |
20 x 27.0
|
800 x 600 |
800 x 552 |
25 x 34.5
|
|
Relationship between yards and radius at 800 x 600 resolution.
- Missile speed is specified in terms of pixels travelled each frame, so in terms of yards per second it is calculated as follows for those with constant non-zero speed:
- Missile speed = 25 * pixels / 32 [2]
- Missiles only exist for a specified number of frames before expiring, so missile range in yards is calculated as follows for those with constant non-zero speed:
- Missile range = frames * pixels / 32 [3]
Reference
|