T2D2 β
2D game inspired by Terraria and Starbound. I dreamed of creating my own game with giant open world and easy modding. This is my first big project. With current state is impossible to compile it due to breaking changes in FastNoise2 library. I don't plan to develop its further.
Terrain β
Terrain generation used combination of perlin noise and simplex noise to create uneven surface and simplex noise to generate caves. TO create biomes cellular noise was used. Large world was stored in chunks to optimize loading and render.every
Entities β
Game had entity manager allowing to move entity around map and trigger behaviors also working collisions and gravitation and movement controller.
Lighting β
Lighting was raytraced. TRacing was handled by cpu or by openGL compute shader.
Modding β
Blocks in game were registered through lua api