Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
/ sitarhero Public archive

Like Guitar Hero – Music minigame with MIDI Sitar sound, created for SFHS Computer Science.

Notifications You must be signed in to change notification settings

anuvgupta/sitarhero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sitar hero

SFHS Computer Science — Music video game in Java using MIDI Sitar
Final project for my Computer Programming class

idea

I was inspired to design Sitar Hero in fourth grade, after my friends and I managed to come up with a plethora of multicultural puns. Finding "Sitar Hero" the most compelling, I vowed to one day make a game similar to Guitar Hero, but with the popular Indian instrument, the sitar, instead of the classic Gibson SG modeled guitar. For this project, that is what I originally intended to create; however, synchronizing an audio bytestream with the movement of AWT and JavaX Swing components is in fact quite an unwieldy task. Thus, I decided to make the project more authentic to the concept of "Sitar Hero" and have the user feel like he/she/they is/are playing a sitar.
 
Gameplay:

  • The player must hit notes on the keyboard as they reach the bottom of the screen
    • If a note is missed, the reaction box will flash red and a kick drum sound will play
    • If a note is hit, the reaction box will flash green and the correct sitar note will play
  • If the player completes a song with 80% notes hit
    • Song name and artist are revealed
    • Edited/shortened version of song is played
    • Player proceeds to next song
  • If a player runs out of lives or completes with 20% notes missed
    • Player must retry song that was failed
  • After three songs, game won!

screenshot

Sitar Hero Screenshot

instructions

  1. Install Java 8
  2. Clone/download this repository
  3. Use command line Java (recommended) or BlueJ
    • Command Line
      • Open a terminal or command prompt
      • Navigate to this_repository/SitarHero/
      • Run the following command: java SitarHero
    • BlueJ IDE
      • Download and install BlueJ IDE
      • Open BlueJ and select Project->Open Project from the menu
      • Navigate to this_repository/ and open the folder SitarHero (as a BlueJ project)
      • Right click on class SitarHero and run the static main() method with no arguments
  4. Ignore any messages that show up in the console/terminal window about AudioComponent.h
    • This problem is common using native Java audio on macOS
  5. Play sitar hero!

credits

All files referenced hereinafter reside within the SitarHero folder.

  • Sitar image files/sitar/sitar.png premierguitar.com
  • Sitar MIDI SoundFont files/sitar/saz.SF2 Marck Heusschen of hammersound.net
  • Gifs in files/sitar
  • Wav audio files
    • All .wav files in
      • files/levels
      • files/rickroll
      • files/saymyname
    • All edited by me, courtesy of SoundCloud and YouTube

View full credits in README.TXT

disclaimer

Anuv Gupta and Sitar Hero take no credit for and have no association with the legal owners/creators of the above intellectual property (ie. SoundFont, GIF/PNG images, and WAV audio files). All credit belongs to the respectively credited entities, and any other entities that claim valid legal ownership of such property. In addition, Anuv Gupta and Sitar Hero take no credit for and have no association with any entities or property belonging or related to Guitar Hero and ActiVision. Any and all similarities or resemblances to the aforementioned entities are completely unintentional and by chance.
 
For any issues or questions, please contact me@anuv.me by email.

 
2015