Skip to content

kkgobkk/js-example-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-example-game

An example game made with vanilla js only. Run by opening "index.html" in any browser (preferably crhromium or firefox based, and in a fullscreen window)

controls

  • use WASD to move
  • left-click to shoot
  • right-click for a slower attack with increased damage

enemies

  • square enemies take 1 hit
  • tall enemies move faster
  • large enemies take multiple hits to kill
  • small enemies shoot projectiles at you

power-ups

  • the orange power-up gives you a few points
  • the green power-up heals you (and give you shields if your HP is full)
  • the blue power-up gives you temporary invincibility
  • the purple power-up is a surprise

upcoming features

  • permanent upgrades to your hp, damage, speed, etc.
  • better balance and more difficulty options
  • more attacks, enemies and power-ups
  • better ui and qol
  • more scalable ui
  • maybe actual sprites instead of just squares

About

An example game made with vanilla js only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published