Skip to content

hanselgunawan/pitch-ball-game

Repository files navigation

Pitch-Ball


Side Scrolling Game powered by different frequencies in sound.
This application can be supported by any input that can generate a pitch between 0-2200hz+ on the frequency spectrum.

Demo


Team Member


  • Hansel Tritama
  • William Tan
  • Andre Gunawan
  • Frank Chu

Features


  • Physics Engine controlled from frequencies as low as Bb0 to as high as C8.

  • Account creation, storage, and authentication via FireBase using both E-Mail and Google Account.

  • Scoring Leaderboards by user location/regions.

  • Ability to challenge friends and other users.

  • Randomized Player Emoji Avatar during each new game.

The technologies that we used


  • Google Firebase.
  • Google Maps API.
  • HTML5 Geolocation API.
  • P5.JS Library (for sound and visual).

How do I play a new game?


First create a new account / Sign Up by an e-mail account. All the information will be stored into Firebase.

Or simply logging in/authenticating through Google.

Start a new game instance
The emoji controlled by using a microphone. Humming or creating different pitches will change the frequency input which will move the player's avatar along the x-axis.

Move inbetween the openings created by the Obstacles to score points. Each successfully navigated Obstacle will result in one point to the player's score. the pipes will move faster as you progress thru the game, and after a certain level it's become more challenging because the pipes will move up and down.

The highest scores will be recorded for each user and to the leaderboard. There's 2 types of leaderboard, the first one based on city, so we can see the top player in that city, the second one is the world leaderboard, which we can see the best player from all over the world.

Get creative with the ways to manipulate the player's avatar! Player's can use alternate forms of input such as a tone generated from a online tone generator or a musical instrument that has direct input into the user's system.

Anymore questions?

Contact me via e-mail: hanselgunawan94@gmail.com