Circuit Dude [2.1] - Awesome Puzzle Game With 50 Levels!

(Scott) #81

Sorry @Cronck and others,
All links to my modified version have been removed in this topic as per @crait’s wishes.

(ET) #82

NNooooooo… i just wanted to play this game BC its the highest rated. and now its broken to where i cant upload it.

ok well @crait are you working on some sort of fix action for this game, or will it be lost… TY

(Scott) #83

To use the current version of Circuit Dude, switch to the previous version of the Arduboy2 library using the Arduino library manager.

(ET) #84

ohhh ok TY ill try that, im on part 6 of @crait building games tutorial… man this stuff is cool. might be awhile before i try to change up the game library. Having a blast making.

Make Your Own Arduboy Game: Part 6 - Graphics!

Deff give these a try if you haven’t yet.

(Josh Goebel) #85

Damn - wish that had been mentioned in the source. I was going to contribute some improvements and fixes but I guess now I’ll go find something else to do.

I’d encourage you to think about open sourcing it and finding a license you’re ok with. There are quite a few with various protections and attribution requirements.

There are open-source licenses that are compatible with that.

(Scott) #86

By my interpretation of @crait’s terms, you could publish your improvements and fixes as unified diffs (or any other form of change information), as I did in a few posts early in this thread. This way you’re not “publicly sharing a modified variation or derivative”. You’re only providing instructions that someone else could use for “2) Educational value in the case of studying the code and modifying for personal educational use.”

You could also submit your modified version privately to @crait for his consideration, such as via a secret gist on GitHub and a PM with a link to it.

(Kevin) #87

This is a relevant post:

It’s probably better to start a new thread or find another one directly related to licenses for further discussion. Back on topic:

@crait congrats your game is featured on the front page of! :cake:

(ET) #88

Size issue on this game… still cant get it to flash/upload. any ideas?

(Kevin) #89

Right now either we will have to reduce the size of the library with @MLXXXp or we can see if @crait has a chance to optimize some of his code.

As a note to developers, it might actually be a good idea to break convention and include the library with the game if you are up against a memory capacity limit.

(Scott) #90

Quick fix:

Remove line 1400:


and replace it with the following lines:

  arduboy.boot(); // raw hardware
  arduboy.blank(); // blank the display
  arduboy.flashlight(); // light the RGB LED and screen if UP button is being held.;
  // wait for all buttons to be released
  do {
  } while (arduboy.buttonsState());

(Eric Salvatore) #91

Ok, I don’t know if I’m just not understanding something, but I can’t get this game to compile in the arduino IDE. I’m running Mac, so the arduboy manager isn’t an option.

I copied the sketch file into a new sketch in arduino, and named it what it’s supposed to be named. I’m not really sure what to do with the hex code though. I don’t really remember hardly anyting about coding, so I’m probably skipping a few steps.

I also made sure the folder containing the .ino file and the .h file was in the right place, and named the correct thing.

(Eric Salvatore) #92

Solved my initial problem, and downloaded the libraries I was missing. Now the game doesn’t fit on my arduboy though? Everyone else seems to be able to play it just fine, what am I doing wrong?

Arduino: 1.6.12 (Mac OS X), Board: “Arduboy”

Sketch uses 28,786 bytes (100%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,404 bytes (54%) of dynamic memory, leaving 1,156 bytes for local variables. Maximum is 2,560 bytes. Sketch too big; see for tips on reducing it.
at cc.arduino.Compiler.size(
Sketch too big; see for tips on reducing it.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

(Eric Salvatore) #93

I tried the quick fix, and it worked.

(Holmes) #94

Updated the code with a similar fix to the one @MLXXXp posted. Sorry it took a while. This is a temporary fix, though. There’s some refactoring I could do, including converting the level data to half-bytes.

(Josh Goebel) #95

I think there is a lot of room for size reducing refactors… be happy to take another look myself if you’d consider a more permissive license and making it easy to contribute (git repository, etc).

(Tom Sparrow) #96

Ahh, don’t spoil the surprise ending


I used half bytes for Arduminer, probably about the only sensible space saving technique i used

(curly) #98

i found and downloaded the sourcecode but could you make public the ArdBitmap.h so i can compile and play it?

(Holmes) #99

@igvina is the one that controls that. However, the ArdBitmap library should be available. In the Arduino IDE, go to Sketch > Include Library > Manage Libraries. You should see a window pop up. In the top-right, you can type in Arduboy and find all the different libraries people have developed. ArdBitmap should be listed. Simply click the library, then click the Install button. :slight_smile:

(curly) #100

well i THOUGHT i installed all of the libraries but i guess i missed a couple, maaaby this has something to do with other problems i was having

fixed, game works fine

Just want to play a game [Solved]