Just a pet experiment, not yet being used for any of my games, is a 2D tiling homebrewed system I made. It is dynamically generated, with each tile being its own class, and so doesn’t need to be “imported” or anything. I made it so that it can display square, hexagonal, and a more exotic equilateral triangle representation.
Features:
- A grayscale minimap (red rectangle shows where you are)
- Full zoom in/out support
- Randomly generated map, but the random generator can be seeded to reproduced the same map. Random generator is based on perlin random generation
- Only draws the tiles that the user can actually see on screen, although minimap is of all the tiles
A triangle version
The hex version ( a different map)
The map sizes right now are approximately set at 500 by 500 tiles. I can make it different sizes, but it slows down around 1000 X 1000. I’m using just Java2D. I should probably use OpenGL or some type of wrapper.