top of page

Sound Control
Flappy Bird

Multimedia Casual Game

The purpose of this project is to try to control the height of the bird flying in "Flappy Bird" through the decibel of the player's sound. I used the sound sensor of Arduino, and the demo "Flappy Bird" was based on Processing.

Demo Video

Project Info

  • Platform: PC Windows10

  • Date of Completion: 2018.12

  • Category: Multimedia Casual Game

  • Controller: Sound

  • Art Style: 2D Cartoon

  • Preferred Resolution: N/A

  • Contribution: Individual Project

  • Download Link: Sound Control Flappy Bird

  • Install Instruction:

    • Download two folders from the link and save them in one folder.​

    • Download Arduino IDE and Processing IDE.

    • Connect an Arduino Uno that wires as following instructions to computer.

    • Open "ArduinoPart.ino" and "ProcessingPart.pde".

    • Run both files and enjoy the game.

Background

Inspired by the game “The eighth note”, which allows players to use their sound to control the movement of the character in the game, I tried to use Arduino and Processing to accomplish a project based on the demo of "Flappy Bird" while players can use sounds to control the height the bird moves.

Basic Design

There are two parts of the project: hardware and software. The various sensor modules of Arduino are very convenient, but this project only needs its sound sensor. In addition, Processing and Arduino can work well together, so in terms of software, I used Processing to make basic game levels.

  1. Hardware: Arduino.

  2. Software: Processing.

Hardware Design

I used the sound level sensor of Arduino Uno and wrote a basic program to connect it to the computer. This is my design of this hardware:

​

Software Design

For the software part, since the difficulty of writing the game itself is relatively simple, I did not spend much time. I spent more time dealing with level generation and character movement speed. Here is part of the code I used to detect the obstacles:

ProcessingCode.png

What I Learned

  1. How to design a multimedia project.

  2. How to use Arduino and Processing to complete interactive works.

  3. Basic programming based on Arduino and Processing.

Wires01.jpg
Wires02.jpg.png
ArduinoCode.png
bottom of page