Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SFML Blueprints

You're reading from   SFML Blueprints Sharpen your game development skills and improve your C++ and SFML knowledge with five exciting projects

Arrow left icon
Product type Paperback
Published in May 2015
Publisher Packt
ISBN-13 9781784398477
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime