Charred Cats Game

Maarten Takens on Flickr

This Scratch game has lots of ways you can customize the game play. No cats were harmed in the making of this article either.

In this article, we’ll be showing how to build a small, simple game in Scratch, based off of the ancient DOS game Scorched Earth. We won’t entirely go through how to make the game step-by-step, but rather explain each big piece and leave you to fill in the details! I’ve posted both the end result and the partial versions of the game with each big step done.

The game: Charred Cats

How it plays: a player and a computer take turns firing at each other. The first one to hit the other player with a projectile wins! You can control the angle at which you fire and how hard you lob your projectile, but that’s all. Projectiles that don’t hit a player blow up and destroy the terrain, opening up new ways to fire at each other. In our initial version, it’s not possible to blow yourself up.

My solution: available at https://scratch.mit.edu/projects/164497555/ and all the partial solutions as well as enhancements are at my project page. Links are at the bottom of this article. Try playing through it just to see how it is. You control the angle of firing with left and right arrow keys and the power of the shot with the up and down arrows. You fire by hitting the spacebar. Clicking on the green flag will reset the game back to its initial state.

Step 1: Build the Scene

The first thing to do is create our terrain and place our sprites. To start, go down underneath Stage and select the paintbrush icon so that you can paint the backdrop. The way I did this was to just fill the stage with a solid color, I chose green, and then I took the eraser and erased out a craggy mountainous stage with two flat spots for our two sprites.

 

Become a subscriber and get access to the rest of this article. Plus all our magazine articles.

Stories also include numerous links to help parents, kids, and teachers learn more. Get access today at just $15 per year!

Subscribe Today!

Also In The October 2017 Issue

Building and creating your tools with the Minecraft toolbox helps you survive the game.

Sensors give robots the senses humans have.

30+ ideas for all age holiday gifts, from books to apps to board games to VR and more.

There might be a reason that too-real robot and video game character creeps you out.

This programming language uses colors instead of text and punctuation to add and perform other tasks.

Knowing how passwords are cracked can help you create better passwords.

There are a number of strategies teachers (plus parents and students) can take to learn programming.

This project uses conductive thread to create a glove to activates your phone.

Software programming does neat things with language, in this case, mixing capital letters.

This Scratch game has lots of ways you can customize the game play. No cats were harmed in the making of this article either.

Links from the bottom of all the October 2017 articles, collected in one place for you to print, share, or bookmark.

Interesting stories about computer science, software programming, and technology for October 2017.