Poop Panic!(for 1st ARDUBOY GAME JAM)


(ina job) #1

This is my entry for the Game Jam.

You keep the zoon clean.


Eried's Unofficial Repo :)
[POLL] Game Jam vote!
(Scott) #2

Since the Arduboy library is no longer being developed, I suggest you use the Arduboy2 and ArduboyTones libraries for this game. Here’s a unified diff for the changes needed to do this:

--- Original/poop-panic.ino	2017-05-21 10:05:01.000000000 -0400
+++ Arduboy2/poop-panic.ino	2017-05-21 11:07:42.846195120 -0400
@@ -1,36 +1,12 @@
-#include "Arduboy.h"
+#include <Arduboy2.h>
+#include <ArduboyTones.h>
 
-Arduboy arduboy;
+Arduboy2 arduboy;
+ArduboyTones sound(arduboy.audio.enabled);
 
 #define MAX_ANIMALS 30
 #define MAX_POOPS 30
 
-
-#define NOTE_C4  262
-#define NOTE_CS4 277
-#define NOTE_D4  294
-#define NOTE_DS4 311
-#define NOTE_E4  330
-#define NOTE_F4  349
-#define NOTE_FS4 370
-#define NOTE_G4  392
-#define NOTE_GS4 415
-#define NOTE_A4  440
-#define NOTE_AS4 466
-#define NOTE_B4  494
-#define NOTE_C5  523
-#define NOTE_CS5 554
-#define NOTE_D5  587
-#define NOTE_DS5 622
-#define NOTE_E5  659
-#define NOTE_F5  698
-#define NOTE_FS5 740
-#define NOTE_G5  784
-#define NOTE_GS5 831
-#define NOTE_A5  880
-#define NOTE_AS5 932
-#define NOTE_B5  988
-
 unsigned int tones[] = {NOTE_C4, NOTE_D4, NOTE_E4, NOTE_F4,NOTE_G4,NOTE_A4,NOTE_B4,NOTE_C5};
 
 
@@ -475,10 +451,10 @@
   }
 
   if(counter % 40 == 0){
-    arduboy.tunes.tone(tones[0], 100);
+    sound.tone(tones[0], 100);
   }
   if(counter % 40 == 20){
-    arduboy.tunes.tone(tones[poopCount], 100);
+    sound.tone(tones[poopCount], 100);
   }
 
   arduboy.clear();

(Molly C) #3

I love how the poo looks like Hershey’s Kisses. This game made me lol. :laughing:


(Pharap) #4

Interesting graphics. 屎/10


(Kevin) #5

Poop Panic is hereby awarded:

A Tie for 7th and 8th Place

Innagural Arduboy Game Jam: The Zoo Had to Close

@inajob is awarded:
:poop: :poop: :poop: :poop: :poop: 5 Poops!
And a free Arduboy!

To collect your reward please use the contact form to let us know your shipping information!


(Erwin) #6

+1 :poop: bcoz soundtrack


(ina job) #7

Thanks for your advice!
I use Arduboy2 library instead of Arduboy library.

Because Arduboy2 and ArduboyTones are registerd Platformio, I could migrate easily!


(ina job) #8

Yeah!:grin:

Thanks for nice video demo!
I’m glad to win the prize!

I’m proud of this game and Arduboy to my Japanese friends!