WIP - One Year Ago

Today is a special day because today the Fealty codebase is one year old!

alt text

I always enjoy looking back at my projects and taking notice of how far they have come. At the same time, it feels like just yesterday that I started. This is the earliest screenshot of Fealty. Earliest screenshot

And this is the second earliest screenshot =D Second earliest screenshot

At this point in time there was no behavior yet. The first things I got working was camera panning and zooming, and the loading of the sprites. The sprites came from the Toen’s Medieval Strategy package by André Marí Coppola. I have a hard time with sticking “dev art”, but I did not want to get sidetracked by looking for art at this point of the project. André’s sprites were varied enough to cover most of what I needed (we are actually STILL using them in places), which I found to be unusual. There is a lot of open source art out there, but it can be very difficult to find sprites from different artists that match well together. The Toen sprites were great for letting me focus on what was most important.

After a week or so, the camera was working as I wanted and I had begun to add some preliminary UI. Camera functionality

One of the original concepts was the idea that buildings had a “Area of Command” which would limit where you could build and interact with the world. Ultimately this proved to be not-so-great and didn’t add much to the game so it is no longer a thing. As a Unity noob I also tried my hand at my first scrolling rect panel, used for showing building blueprints - and you can see in the GIf how poorly that turned out.

By the end of January, I had the character goal-based AI in place and building construction was functional. You can also see a resource bar along the top, which is something else that is no longer in the game. I had also added Saving and Loading to the game (or at least the UI buttons - I am not sure if they were actually functional at the time!)

And here is some actual action on the screen!

A little more game

Looking back at it now, it’s funny to realize both how much is the same and how much has changed. If I showed you the game today you would certainly recognize it, but its almost unreal to see what it looked like just a year ago. Among other things, the goal-driven AI has changed a lot - the architecture is mostly the same, but the implementation details for the discreet tasks is much more robust and “world-aware”. The UI is slicker and predictable, without bugs like the weird scrolling glitches you see in the first GIF. You can learn a lot in a year!

In the next WIP I want to talk about the code architecture for the game, and go into [some] details on how the Fealty simulation engine is able to support thousands of players at the same time.

Thanks for reading!


Chat with me on Discord