Chapter 2. Beating Back the Horde

In this project, we will make a game that is a bit more involved. What kind of game will we be making? We are going to make one of the classics, a Tower Defense game (http://old.casualcollective.com/#games/FETD2). Our game won't be as polished as the example, but it gives you a solid base to work with and develop further.

Beating Back the Horde

Mission briefing

We will use the cloning tools again to create hordes of enemies to fight. We will also use these tools to create cannons and cannonballs. It's easy to reuse assets from other projects in Scratch 2.0. The new Backpack feature allows you to easily exchange assets between projects. How this works will be demonstrated in this project.

Mission briefing

Why is it awesome?

This example is a lot more involved than the previous one. The final result will be a much more finished game that still leaves plenty of room to adapt and continue building on. While making this game, you will learn how to draw a background and how to make and use different costumes for a single sprite.

We will make full use of the cloning technique to create many copies of similar objects. We will also use more variables and another type of variable called List to keep track of all the things going on in the game.

You will also learn about a simple way to create movement patterns for computer-controlled objects.

Your Hotshot objectives

We will divide the project in to the following tasks based primarily on the game sprites and their behavior:

  • Creating a background
  • Creating enemies
  • Creating cannons
  • Fighting back
  • Increasing the horde
  • Adding a base
  • Limiting resources
  • Winning the game

Mission checklist

Click on the Create button to start a new project. Remove the Scratch cat by right-clicking on it and selecting delete.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.151.45