Arduboy Jet Pac

You should be able to set sound on and off using the boot up system control buttons.

  • Hold the B button while powering up.
  • While continuing to hold B, press and release UP to turn sound on or press the DOWN button to turn sound off.
  • Release the B button to continue on with the game.

The mute state is stored in EEPROM, so it will remain as selected over power-ups and re-boots.

Oops, sorry. I looked at the source code and noticed that this game is forcing sound on.

If you’re compiling and loading this game from the Arduino IDE, change line 114 in the JetPac tab (file JetPac.ino) from

arduboy.audio.on();

to

arduboy.audio.begin();

The instructions in my previous post will then work.

@TheArduinoGuy, You should make this change in the source, or just call arduboy.begin(), instead of arduboy.boot() and all the individual boot feature functions.

1 Like

Sure, i’ll make those changes. Thanks.

1 Like

Thank you - I didn’t know about this feature.

Very nice game. I installed it on my homemade Arduboy and when I try to shoot the laser with the B button it turns out that the screen goes black. Has anyone had the same thing?

regards

1 Like