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


(Simon) #1

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


ArduboyBeep: low overhead tone generation
How difficult is creating a game, for an absolute beginner?
[CONTEST] Nyan Cat for Arduboy
How to animate sprite for character movement?
Super Crate for the Arduboy? [Solved]
First game/frogger clone
Need help to develop KSboy (Kerbal Space Program 8-bits)
Hi everyone! I'm new
Make Your Own Arduboy Game: Part 7 - Make Pong From Scratch!
Gamebuino Meta or the Arduboy?
Chrome Dino offline side-scroller
(Scott) #2

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.


(Simon) #3

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


(Scott) #4

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


(Simon) #5

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