Your Supplies

Here are all the things you need to make this project.

First, you are going to need a compiler. Get devkitARM from devkitPro. If you're on windows, devkitPro makes things easy with their installer, download that and get devkitARM and libnds with it. Oh, also get the examples! This tutorial will start with a template from the examples.

devkitARM is the toolchain that we can use to compile code for the DS.

libnds is a somewhat low-level library for DS programming. We will use it in this tutorial.

Also, how are you going to test your project? Luckily, for this tutorial you don't even need a DS or flashcard. All testing can be done with no$gba, a GBA/DS emulator. Scroll down a bit and grab the freeware version. If you're on linux, I've heard that it runs OK with wine.

Warning: Although this game happens to work in no$gba, do not--ahem, *DO NOT* trust emulators. Emulators are expert at hiding things in your program that are broken (because they do not emulate the hardware exactly). There is a good chance of something not working correctly on hardware if you test only in an emulator. When working on your projects, you should frequently test on hardware to make sure you haven't screwed anything up!

Finally, I will give you some graphics that you will make the game with:

Bouncy ball spriteFunny shapeA gradient

This tutorial will explain how to combine these three elements into this scene:

Download the graphics here!

ContentsNext: Setting up your project