An Arduboy game, written as a gift for Modus Create clients for the 2016 holiday season.
C Arduino C++ Makefile
Pull request Compare This branch is 2 commits behind develop.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arduboy-game
images
sound
tools
.gitignore
LICENSE.txt
README.md
arduboy.gif
evade_prod.jpg
evade_video_still_play_icon.png

README.md

Evade - A Space Shooter Game for Arduboy by Modus Create

This is an Arduboy game, written as a gift for Modus Create clients for the 2016 holiday season.

Evade

Watch the cinematic trailer that we produced for the game on Vimeo:

Evade Cinematic Trailer

You can also listen to the music for the first stage of the game on SoundCloud.

Quick Start

You will need an Arduboy, which you can get from:

Arduboy is Arduino based. A program for the Arduino is referred to as a "Sketch". To install our game on your Arduboy, you will need to get the Arduino IDE.

Follow these steps to be able to compile the code:

  1. Download the Arduino IDE and install it
  2. Start the Arduino IDE
  3. Load the arduboy-game.ino sketch from the arduboy/ subdirectory of this project
  4. In the Arduino IDE menu, go to "Sketch...Include Library...Manage Libraries" and add the Arduboy library version 1.1.1.
  5. In the Arduino IDE menu, go to "Tools...Board" and select either Arduino Leonardo or Arduboy
  6. In the Arduino IDE menu, select to "Sketch...Verify/Compile"

This should compile and verify the Arduino sketch. You should see output in the lower window similar to this:

Done compiling.

Sketch uses 28,668 bytes (99%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,898 bytes (74%) of dynamic memory, leaving 662 bytes for local variables. Maximum is 2,560 bytes.

When you plug a device into your USB port you need to set the Port from the Tools menu.

The Tick icon can be used to verify the code prior to uploading. The Arrow button uploads the sketch to the device.

Troubleshooting

If the Arduboy doesn't upload your sketch, try the following procedure:

  • Turn off device.
  • Press upload, on ide.
  • Then hold reset.
  • While holding reset press power, then let go of reset. It will work.

Alternatively:

  • Press and -hold- reset button (paperclip)
  • Hit upload
  • Wait for the “Sketch uses xxx bytes” message
  • Count to 4
  • Release reset button

Further information on how to unbrick it here.

Viewing Compiler Output in Arduino IDE

By default the Arduino IDE does not show the output of the compiler as it compiles your code. If you want to see this:

  • Open up Arduino IDE Preferences dialog
  • Find the "Show verboase output during" options
  • Check the "compilation" check box
  • Select "Default" from the "Compiler warnings" drop down
  • Click "OK" to save your changes

Image Conversion

We used this tool to convert images. It has its own documentation.

JavaScript Tool for Converting Strings to Bitmap Font Representations

We created a small JavaScript tool (tools/text_generator.js in this repo) to convert arrays of strings into arrays of integers representing the characters in the bitmap font that we use. This can be run directly in JS Fiddle.

Resources

Legal

Copyright (C) 2016 Modus Create Inc.

This code is MIT Licensed.