Odin Dutton

Barefoot Web Developer @ Locating...

23ba97f

Hrdlr Arduboy

by Odin Dutton

An Arduboy is an Arduino based 8-bit handheld console.

I picked one up and decided to make a hurdling game (again).

Graphics

I used Aseprite to draw the graphics which were saved as PNG files then converted to C header files using mksprite.

Below is an example of the first from of the coin. The comments are added my mksprite to make it easy to tell what frame you’re referring to and aren’t required.

For example the first frame of the coin looks like:

const uint8_t PROGMEM coinFrames[][4] = {
  /* Frame number 0
       ##
      #  #
      # ##
      # ##
      # ##
      # ##
       ##

  */
  {0x3e,0x41,0x7d,0x3e},

Demo

Code

You can find the code on Github. Fair warning though, I don’t really know C or C++.

See previous versions:


hash tag gamedev