Difference between revisions of "Vision"
From DRL Wiki
Shark20061 (Talk | contribs) (Global vision reduction in 0996 - updating page to reflect) |
|||
Line 3: | Line 3: | ||
The player also has a sight [[Distance|radius]]. By default, this sight radius is 8, but it can be increased to 10 with the [[Traits|Cateye]] trait. Additionally, some other effects can reveal a limited number of objects outside the player's sight radius. | The player also has a sight [[Distance|radius]]. By default, this sight radius is 8, but it can be increased to 10 with the [[Traits|Cateye]] trait. Additionally, some other effects can reveal a limited number of objects outside the player's sight radius. | ||
− | Certain tiles (like walls) block the player's vision. The effects of these obstructions are calculated by a modification of Isaac Kuo's [http://roguebasin.roguelikedevelopment.org/index.php?title=Isaac_s_fast_beamcasting_LOS fast beam casting algorithm]. The exact algorithm used by | + | Certain tiles (like walls) block the player's vision. The effects of these obstructions are calculated by a modification of Isaac Kuo's [http://roguebasin.roguelikedevelopment.org/index.php?title=Isaac_s_fast_beamcasting_LOS fast beam casting algorithm]. The exact algorithm used by DRL is open-source as a part of [http://sourceforge.net/projects/fpcvalkyrie/ FPC Valkyrie]. |
Latest revision as of 12:38, 11 August 2025
Vision (or line-of-sight) is the process by which tiles around the player are revealed.
The player also has a sight radius. By default, this sight radius is 8, but it can be increased to 10 with the Cateye trait. Additionally, some other effects can reveal a limited number of objects outside the player's sight radius.
Certain tiles (like walls) block the player's vision. The effects of these obstructions are calculated by a modification of Isaac Kuo's fast beam casting algorithm. The exact algorithm used by DRL is open-source as a part of FPC Valkyrie.