Lords & Peasants - Medieval City Building RTS

Lords & Peasants is a medieval real-time strategy and city building game developed by Inverted Cat Games. It has both single and multiplayer modes with up to 16 Players. Start out as a lord of a small village and develop it into a prospering city. Manage your city and rule over the peasants. Forge alliances and intimidate your enemies. Recruit an army and conquer the lands to create your kingdom.

Screenshots:

Steam Greenlight: Steam Community :: Error
Twitter: x.com
Website: https://invertedcat.com/lordsandpeasants/

We will be posting updates in here as well, going in-depth about how we are using unity during development.

1 Like

Dynamic Terrain Trails:

If the gif above doesn’t load: Imgur: The magic of the Internet

Here is an example of how we are using dynamic path trails. It checks where peasants have been moving and then modfies the terrain control texture accordingly. Note that this is very slow with unities default build-in terrain shader, so it’s best to use a custom one (we used RTP3 which works well and looks nice).

1 Like

Snazzy

Terrain.SampleHeight on the GPU

It is possible to adjust the position of moving GameObjects on terrain efficiently. The CPU way would be to call a Terrain.SampleHeight per Frame, which is every inefficient and scales badly. The alternative is doing the work inside the shader so it happens on the GPU which is incredibly fast.

Debug View:

The outline is the actual GameObject location, what you see walking on top of the terrain is shader magic.

2 Likes

Cool, but in this case physics can not be used at all. Right?