Difference between revisions of "Radius"
Onderduiker (talk | contribs) |
Onderduiker (talk | contribs) m |
||
Line 7: | Line 7: | ||
[[File:Sub-tile.png|left|thumb|350px|Enlargement of a single sub-tile.]] | [[File:Sub-tile.png|left|thumb|350px|Enlargement of a single sub-tile.]] | ||
| | | | ||
− | Many skills (most notably [[D2 Curse|curses]] and [[D2 Aura|auras]]) apply effects within a radius. Skill descriptions specify radius in yards, while internally it is specified in sub-tiles: each sub-tile is a 2/3 yard by 2/3 yard (2 foot by 2 foot) square, although due to the game's [http://en.wikipedia.org/wiki/ | + | Many skills (most notably [[D2 Curse|curses]] and [[D2 Aura|auras]]) apply effects within a radius. Skill descriptions specify radius in yards, while internally it is specified in sub-tiles: each sub-tile is a 2/3 yard by 2/3 yard (2 foot by 2 foot) square, although due to the game's [http://en.wikipedia.org/wiki/Isometric_graphics_in_video_games isometric graphics] these are rendered as rhomboids. |
|} | |} | ||
Revision as of 13:32, 17 February 2011
Many skills (most notably curses and auras) apply effects within a radius. Skill descriptions specify radius in yards, while internally it is specified in sub-tiles: each sub-tile is a 2/3 yard by 2/3 yard (2 foot by 2 foot) square, although due to the game's isometric graphics these are rendered as rhomboids. |
Radius often increases with skill level, but this is not true of the following:
|
|
Since a sub-tile is a 2/3 yard by 2/3 yard square (2 feet by 2 feet), the hypotenuse of the right-angled triangles created by bisecting that square from opposite corners is the square root of 8 (2² + 2²) in feet, or ~2.83 feet. Horizontally this distance equals 32 pixels, but vertically this distance equals just 16 pixels, resulting in the following:
Resolution | Visible Area | |
---|---|---|
Pixels | Yards | |
640 x 480 | 640 x 433 | 18.86 x 25.51 |
800 x 600 | 800 x 553 | 23.57 x 32.59 |
If it seems counter-intuitive that vertical distance in yards should be greater than horizontal distance (since it's fewer pixels in length), take another look at the radius image above: distance from the center to the side of the screen is ~12 yards, while distance to the top is ~18 yards.