StreetFighterJava icon indicating copy to clipboard operation
StreetFighterJava copied to clipboard

:video_game:A high school project where I attempted to create a Street Fighter game. This code had to be decompiled using http://www.javadecompilers.com/ as I could only find the executable file.

Street Fighter: Java Edition

Home Screen A high school project where I attempted to recreate the Street Fighter game in Java. This project was super fun, and this was where I learnt:

  • Frames
  • Animating graphics
  • Incorporating audio and in-game commands
  • Game Mechanics (i.e. hit box, attack animation length)

There are a lot of other cool stuff that can yet be implemented, which is located in TODO.

In-Game Menus

Players get to choose from different stages and characters. For the project, I only implemented two characters as each character took a long time to incorporate into the game. Here are some of the things that were needed to be done for each character implementation:

  • Parsing sprite from spritesheet
  • Animating sprites by frame
  • Create unique hit box for each attack
  • Animate jumping animation (up, forward, back)

Battle Scene

The interface layout for the battle scene is minimalistic as it was the least of my prioirities. I figured that as long as the game mechanics were in place and the main menus looked good, that the lacklustre UI for the battle scene would be overlooked. Healthbars and timers aren't too fancy and the font for player names aren't really pleasing to the eye. The UI for the battle scene was one of the last things implemented in this project.