Scratch Multimodal Games

Ben Sutherland on Flickr

Take your Scratch games to the next level by adding multiple modes with multiple sprites.

In the past couple of issues, we’ve done some basic and not-so-basic Scratch programming leading up to designing a small game.

Now we’re going to try making a bit bigger of a game; this one is going to be what I’m going to call multimodal. It’ll shift between two different modes of play: an old fashioned side scroller and an arcade-style shooter game.

The first skill we need is to change which sprite the character uses when the backdrop changes! I have a small example here at that shows my method for switching which sprite is the “active” one. We have just a very simple program where you click the initial text and then move to a scene with a little beetle sprite.

You can move the beetle all the way to the right, and then the scene changes to a car that you can move all the way to the left to go back to the scene with the beetle. These aren’t just different costumes for the same sprite, we’re actively changing which sprite is getting input.


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 December 2017 Issue

Learn some nifty coding tricks while creating a Formula EV3 Race Car.

With binary search, you don’t have to be a mind reader to beat this simple coding activity.

Controllers have come a long way in 50 years. Let’s appreciate the bulky, awkward ancestors that led us here!

Take your Scratch games to the next level by adding multiple modes with multiple sprites.

Let the CSS Zen Gardens wow you with variety and elegance. Making a pretty website isn’t so complicated after all!

An introduction to a hip new alternative to Java. It’s all the rage in android development!

Resources to transform you into a web virtuoso, from messaging apps to testers to code converters.

New treasures and new enemies await in two unique, dangerous realms.

Create your own 3D digital museum and learn how you can help preserve cultural artifacts.

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

Add data types to your new programming language in this third installment of the series.

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