GitHub - maxilevi/project-hedra at pre-ai
Hedra is a 3D open world game I wrote from scratch while in highschool. The entire codebase is around +100k LOC - maxilevi/project-hedra
Hedra is a 3D open world game I wrote from scratch while in highschool. The entire codebase is around +100k LOC - maxilevi/project-hedra
Project Hedra is an ambitious open-world, low-poly RPG. Choose your class, explore endless procedurally generated worlds, unlock different skills and complete procedurally generated quests.
More screenshots at (Screenshots)
I started this project when I was in highschool (around 15 yo) in order to learn how OpenGL worked.
The scope creep quickly arrived and after a few years it turned into a fullfledged 3D game and game engine. The codebase has around 100k LOC and the game has first class support for Linux and Windows.
The million lines of code are not in vain. The game and engine are both full of features :)
TODO add more
The game is a mod to a base engine. The idea of architecturing this way was to force myself to maintain the mod API up to date, therefore encouraging access to make mods.
Basically the entire game. This includes AI logic, components, world generation, module systems, object placement and lots of other stuff.
The core parts of the engine, this defines all the abstractions to the world. It handles rendering, sound, different base systems as well as the general windowing, game loop and platform features. The split was not done at the start so some stuff might still be outside.
Core primitives used in the engine. This includes heap and stack allocators, custom implementations of lists and arrays as well as wrappers to pointers to native and some other useful primitives
Test suite that
Command line tool to compress the game assets into convenient binary files. Combines images, models, sound files, shaders into a single binary file with a structure designed for fast data retrieval.
Once upong a time Hedra used to support multiplayer. It worked by doing UDP Hole Punching and having clients communicate P2P, this server was in charge of that. You might also see some networking remnants in the Engine code.
The build process is pretty straightforward.
You can check the GitHub actions workflows for some examples on Linux and Windows.
Texto de github.com tal como lo publicó, leído de su página y mostrado aquí con el formato de El Autómata. El original, en github.com · Volver a la noticia de El Autómata