Caesar Engine

Caesar Engine

2 devlogs
37m
Created by Dory

A video gam enine similar to the Paradox Interactive Claustwitz engine, with the objective of making fantasy strategy games.

The repository is private, since I plan to turn it into an actual game at some point, and don't want to leak the code, so sorry about that :(

When I have a demo it will be public though :D

Timeline

I managed to fix it!

Turns out I forgot the fact I'm passing color as an unsigned byte, so I had to divide by 255 to get a proper value. Now it works perfectly!

Now, to work on abstracting states so we can clean up the code and make main.cpp neater...

Update attachment

So, even though this project was started way before this summer, I think it's a good way to use my time. I'll post here updates about how it goes.

To explain what I'm working on right now, I have o explain to you the basic working principle of the engine.

The engine works with states in mind. Every country is constituted by a set of provinces. If you've ever played Europa Universalis or Hearts of Iron, you know what I'm taking about.

So, to define these provinces, I use two files. A color-coded png, which is read through the stb_image library (I plan on making my own version of this, since the idea is for the engine to have the least amount of dependencies), and a txt fie containing the actual information of the province.

The bug I'm trying to fix now is the fact that, when rendered, provinces don't have their own unique color, instead seemingly sharing one per state for some reason.

Let's see what the fix might be...

Update attachment