Make Your Own Sideways Scroller: Part 1 - Steve The Jumping Dinosaur

Introduction

The following article describes how to build a simple game based on the Google browser game that is available if you are offline. Other versions of this game are available on iOS and Android and are called Steve the Jumping Dinosaur.

This article assumes you have read Crait’s series of articles that describe the process of setting up an Arduboy environment, writing simple applications and culminating in the writing of your first game – the classic Pong!

If you haven’t already read Crait’s articles, stop reading this and do that first.

Make Your Own Arduboy Game: Part 1 - Setting Up Your Computer
Make Your Own Arduboy Game: Part 2 - Printing Text
Make Your Own Arduboy Game: Part 3 - Storing Data & Loops
Make Your Own Arduboy Game: Part 4 - Questions & Button Input
Make Your Own Arduboy Game: Part 5 - Your First Game!
Make Your Own Arduboy Game: Part 6 - Graphics!
Make Your Own Arduboy Game: Part 7 - Make Pong From Scratch!

Crait’s articles do a great job of detailing the structure of an Arduboy program. This article adds some additional concepts including enumerations, structures and arrays of images to build a more advanced game than Pong.

If I haven’t already said it, make sure you read Crait’s articles first.


The code described in these lessons can be found at https://github.com/filmote/Steve

Next Article > Make Your Own Sideways Scroller: Part 2 - Prerequisite Concepts

5 Likes

Why are you using boot() instead of begin()? If this series is meant for relatively new developers, using advanced initialisation methods without explaining why could lead to confusion.

Also, not retaining flashlight() or safeMode() could cause upload problems. Leaving out audio.begin() could cause sound problems if you forget to include it later, when adding sound.

1 Like

I switched it to boot() for testing (I get sick of the Atduboy logo) and should have changed it back.

2 Likes

You can press the RIGHT button during power up or while the logo is scrolling down to bypass it.

I know … its still quicker to not have it when developing.

2 Likes