Difference between revisions of "Roguelike Library For Java"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
This is a modular easy to use Java library for developing Roguelike Games. | |||
The purpose of this library will be to provide functions like Line of Sight, Field of View, Pathfinding, Dungeon generation, etc that you will need for writing your Roguelike, but the code that is either hard to find or hard to separate out from existing projects. | |||
Currently this library provides the following : | |||
* Field of View | |||
** Precise Permissive | |||
** Shadowcasting. | |||
* Cone Field of Vision | |||
** Precise Permissive | |||
** Shadowcasting. | |||
* Line of Sight | |||
** Bresenham | |||
** Symmetric Bresenham | |||
** Opportunistic Bresenham | |||
** Precise Permissive | |||
** Shadowcasting. | |||
* Projection | |||
** Bresenham | |||
** Symmetric Bresenham | |||
** Opportunistic Bresenham | |||
** Precise Permissive | |||
** Shadowcasting. | |||
Some examples of this library in action : | |||
{| | {| | ||
|+ !!Field of Vision | |||
|- | |- | ||
! Precise Permissive | ! Precise Permissive | ||
Line 26: | Line 53: | ||
......#..#..... | ......#..#..... | ||
.#......... | .#......... | ||
......... | ......... | ||
</pre> | </pre> | ||
| | | |
Revision as of 20:53, 25 December 2007
This is a modular easy to use Java library for developing Roguelike Games.
The purpose of this library will be to provide functions like Line of Sight, Field of View, Pathfinding, Dungeon generation, etc that you will need for writing your Roguelike, but the code that is either hard to find or hard to separate out from existing projects.
Currently this library provides the following :
- Field of View
- Precise Permissive
- Shadowcasting.
- Cone Field of Vision
- Precise Permissive
- Shadowcasting.
- Line of Sight
- Bresenham
- Symmetric Bresenham
- Opportunistic Bresenham
- Precise Permissive
- Shadowcasting.
- Projection
- Bresenham
- Symmetric Bresenham
- Opportunistic Bresenham
- Precise Permissive
- Shadowcasting.
Some examples of this library in action :
Precise Permissive | ShadowCasting |
---|---|
...... .. ....... .. ......... .. ......... .. . ......... ... .......... .. ..#... .#.....#.... .......#.......... ..............#.... #........@......... ...........# .....#....... ..# #......... ...........# .............. ............... ......#..#..... .#......... ......... |
. . ....... ............. .............. . ... .......... ..# ............# .... ............. ..#... .#.....#.... .......#........... ..............#.... #........@.......... ...........#....... .....#....... ..... ..# #.......... ... ...........#.# . ............... ................ ......#..#..... ..#.........# ......... . |