While working on my personal platformer game, my coworker Mitch walked over to investigate. I was working on a double jump mechanic, when the "flappy" mechanic was born. Mitch and I thought it was hilarious and dubbed it "flappy cube". Little did he know that the gears were turning inside of my head....I knew I had to do it...I had to make a flappy bird version of Mitch. And so I coded "flappy mitch" in 6-7 hours so I could present it to him the next day, my last day of work.
flappy mitch implements procedurally generated obstacles. When Mitch passes through an obstacle, a new one will spawn 5 spaces ahead at a random y-value. When the obstacle is off-screen, it will be destroyed. When Mitch dies, all the obstacles are deleted and the process starts anew. The background isn't automatically repeated, but instead will repeat itself once the player reaches the end of the picture. All sound effects are courtesy of my imagination.
flappy mitch implements procedurally generated obstacles. When Mitch passes through an obstacle, a new one will spawn 5 spaces ahead at a random y-value. When the obstacle is off-screen, it will be destroyed. When Mitch dies, all the obstacles are deleted and the process starts anew. The background isn't automatically repeated, but instead will repeat itself once the player reaches the end of the picture. All sound effects are courtesy of my imagination.