Chapter 7. Building a Real-time Tower Defense Game from Scratch – Part 1
Now that you have all the basic tools, it's time for us to build something new. What about a mix of a Real Time Strategy (RTS) and a tower defense? And what about making it a multiplayer game? You like these ideas? Great! This is exactly what we will start building.
As this project is much more consequent than all the others, it will be split in two parts. The first one will focus on the game mechanism and logic, and the second on the multiplayer layer. So, in this chapter we will do the following:
- Create animations
- Build and use a generic map system with tile model and dynamic loading
- Build an entity system
- Make the game's logic
This project will reuse a lot of the components made previously, such as ActionTarget
, ResourceManager
, our GUI, and the game loop. To allow you to reuse these components easily for future projects, they have been gathered into a single framework (SFML-utils
) that has...