Skip to content

๐Ÿ’€ Sudden Death! is a fighting game made with HTML Canvas & JavaScript

Notifications You must be signed in to change notification settings

thomasjvu/sudden-death

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Sudden Death!

Your enemy only has two hits until they face certain death, but so do you... Bring down your enemy!

Demo of the Two-hit Knockout Fighting Game

This repository is for a 2D Fighting Game using HTML Canvas & JavaScript. It's meant to showcase the power of vanilla HTML and JavaScript, no game engine or framework needed!

How to Play

This is a local co-op game meant to be played with a friend using the same keyboard. The premise is simple, make the first strike to defeat your enemy!

Player 1 Controls

  • Move Left: a
  • Move Right: d
  • Jump: w
  • Attack: space

Player 2 Controls

  • Move Left: ArrowLeft
  • Move Right: ArrowRight
  • Jump: ArrowUp
  • Attack: ArrowDown

Functionality Checklist

Basic Fighting Game Mechanics

  • Project Setup
  • Create Player and Enemy
  • Move Characters with Event Listeners
  • Attacks
  • Health Bar Interface
  • Game Timers and Game Over

Sprites and Animation

  • Background Sprite
  • Additional Sprite with Animation
  • Player 1 Sprite
  • Player 2 Sprite
  • Interface Design and Animation
  • Pushing Live

Optimization Checklist

After the base functionality of the game is complete and V1 is live, here are some additional optimizations that will be made in a future date.

  • Add music
  • Add sound effects
  • Add restart button
  • Add more characters
  • Add character select screen
  • Add different stages
  • Add stage select screen
  • Add vs. CPU player option

View My Other Projects

Interested in some other related gaming projects? Check these out...

About

๐Ÿ’€ Sudden Death! is a fighting game made with HTML Canvas & JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published