Rootworld

The Project

Rootworld is a 2D sandbox engine built from scratch using C++ and the SFML graphics library. It is heavily inspired by the game 'Terraria'. It features infinite procedural terrain across biomes, A* AI pathfinding, a dynamic lighting system, and a custom Entity component system architecture. The project started with a simple OOP design which quickly collapsed as the project grew. There was lot of duplicated and shared code. Thus, I migrated to an ECS architecture, making the project much cleaner and extensible and got it closer to what a game engine would look like. The hardest problems involved seamless biome transitions which required a compounding height offset system rather than parameter blending. A* pathfinding required custom neighbor generation to account for platformer physics. The full technical writeup is linked below: https://1drv.ms/w/c/6d14236dbbee8233/IQAdgmOCmBbvQrpoiURqGuleAcTz4pKQQEQj3UkqV9OW_BU?e=Hndy8r

Games

About the team

  • India

Team members

  • Adamya