Skip to content

huang-kenneth/Music-Rush

Repository files navigation

DISCLAIMER: This is my first coding project, created in December 2019. The game may not be optimized, and looking back on it, there are a lot of changes to be made. However, I do hope that you enjoy looking through this project!

Project Name: Music Rush

Description: An interactive rhythm game that uses any .wav file to generate a playable map that corresponds with the beats and pitches of the song.

Libraries imported: sys, time, pyaudio, aubio, pygame, random, numpy, tkinter

How to Run:

  1. Open TermProjectTest.py and run the file
  2. Click Play

startMenu

  1. Choose your gamemode. (1 player or 2 players)

gameMode

  1. Select a song using 'Select another song'. The default .wav file displayed is fancy.wav

songSelect

  1. Click Play Now!

Single Player Example:

image

Multiplayer Example:

image

Objectives of the game: Hit the yellow circles Avoid the grey ones Survive until the song is over You have 5 Lives.

Tutorial Screen:

tutorialScreen

Commands:

1 player:

P1 - Left and right arrow keys to move, SPACE bar to hit a circle

2 players:

P1 - Left and right arrow keys to move, UP arrow to hit a circle

P2 - A and D keys, W key to hit a circle

#Note: The grey circles make you lose a life and automatically hurt you on contact. The yellow circles gives you points, but to get them, you need to eat them manually.

Other Screenshots/Game Features

Game Over Screen:

image

Statistics:

image

Score and High Score Tracker:

image

About

A rhythm-based game that automatically generates obstacles based on a song's features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages