I’m embedding my game assets into the executable, here’s how I did it…
I’m a huge fan of the 4X strategy game genre. Civilization, Endless Space, or Total War, those are amongst my favorite games.
I’m also a software developer who dabbled with game development as a hobby with a few engines and also from scratch. Although, I never released anything worthwhile because I lack skills in the artistic fields (graphics, music, story telling, …), yeah solo gamedev is insanely hard.
Fortunately for me, there are tons of assets on the Unity Asset Store, or even on https://opengameart.org for me to get things started. And now, with DALL-E or Stable Diffusion, I can even generate some placeholder sprites/textures. So why not make a game in that genre that I love?
This is how Warmonger Dynasty was born:
In order to make it even simpler, I decided to make it from scratch with the following stack:
- C++20
- CMake build system
- entt ECS (Entity Component System) header-only library
- SDL2 (with the extensions SDL2_image, SDL2_mixer, …)
- dear imgui with the SDL_Renderer backend
I have 3 goals with this project:
- finish it
- play it with my…