Difference between revisions of "Missile"
Jump to navigation
Jump to search
Onderduiker (talk | contribs) (Created page with '{{Unit nav}}') |
Onderduiker (talk | contribs) (Added images, notes on speed and range) |
||
Line 1: | Line 1: | ||
{{Unit nav}} | {{Unit nav}} | ||
+ | {{Intro}} | ||
+ | *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 [http://www.theamazonbasin.com/d2/forums/index.php?showtopic=85741], 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 [http://en.wikipedia.org/wiki/Isometric_graphics_in_video_games isometric graphics]. | ||
+ | |||
+ | |||
+ | [[File:Sub-tile.png|center|thumb|400px|Enlargement of a single sub-tile.]] | ||
+ | |||
+ | |||
+ | *Consequently, the dimensions of the visible screen are as follows: | ||
+ | |||
+ | |||
+ | {{Number table}} | ||
+ | |-valign=top align=center | ||
+ | !width=91 rowspan=2|Resolution | ||
+ | !colspan=2|Visible Area | ||
+ | |-align=center | ||
+ | !width=91|Pixels | ||
+ | !width=91|Yards | ||
+ | |-align=center | ||
+ | |640 x 480||640 x 432||20 x 27{{0|.0}} | ||
+ | |-align=center | ||
+ | |800 x 600||800 x 552||25 x 34.5 | ||
+ | |} | ||
+ | |} | ||
+ | |||
+ | |||
+ | [[File:Radius.png|center|thumb|600px|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 [http://phrozenkeep.hugelaser.com/index.php?ind=reviews&op=entry_view&iden=364] | ||
+ | |||
+ | |||
+ | *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 [http://phrozenkeep.hugelaser.com/index.php?ind=reviews&op=entry_view&iden=364] | ||
+ | |||
+ | |||
+ | ==Reference== | ||
+ | *Nefarius and Brother Laz, [http://phrozenkeep.hugelaser.com/index.php?ind=reviews&op=entry_view&iden=364 Missiles.txt File Guide v. 2] (Phrozen Keep) |
Revision as of 18:20, 7 August 2012
Reference
|