Git Product home page Git Product logo

evade-arduboy-game's Introduction

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.

We also wrote an initial blog post announcing the release of the game. More recently, we followed that up with a second post covering some more implementation details. You can read that here.

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.

.arduboy Distribution

We have also put together a .arduboy distribution for use with game loader tools such as Arduboy Manager (Windows only).

These allow you to load games onto the Arduboy without having to compile them yourself.

The .arduboy archive for Evade is in the dist folder in this repo.

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.

evade-arduboy-game's People

Contributors

jaygarcia avatar obscurerichard avatar rpigu-i avatar simonprickett avatar stan229 avatar sulfurious avatar theneverstill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

evade-arduboy-game's Issues

Evade is overwriting the 16 EEPROM bytes reserved for Arduboy2's settings

The first 16 bytes of EEPROM are reserved by the Arduboy2 library for user settings.
Evade is overwriting those first 16 bytes which causes a problem for users.
Could someone please patch the code so that it avoids overwriting those 16 bytes?

The Arduboy2 library provides the EEPROM_STORAGE_SPACE_START macro specifically for this purpose:
https://mlxxxp.github.io/documents/Arduino/libraries/Arduboy2/Doxygen/html/Arduboy2_8h.html#adce5e39a6d5c9593a2119fb55d32976f

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.