Book Image

SFML Blueprints

Book Image

SFML Blueprints

Overview of this book

Table of Contents (15 chapters)
SFML Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The goal of the game


First of all, let's explain our goal. As we said previously, we will build a new game that will be a mix of a real-time strategy game and tower defense.

The idea is that each team starts with some money/gold and a main building named GQ. When a team loses all its GQ, it loses the game. The money can be spent to build other buildings with different abilities, or to upgrade them. For example, some of the buildings will spawn warriors who will attack the enemies; other buildings will only defend the surrounding area. There is also a restriction concerning the area where new buildings can be made. In fact, you can only place a new building around your team's existing buildings. This keeps you from placing a big tower in the center of the enemy camp at the start of the game. It's also important to notice that once a building is built, you don't control its behavior just as you don't control the different warriors spawn by it.

Also, each time an enemy is destroyed, some gold...