Skip to content

MaSNogueiraS/Web_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web_Game

Web Game based on Space Invaders

Known issues:

  • Game is impossible to win without adding any boosts
  • No sound effects
  • Graphics are not very good, actually they are pretty bad
  • The game is not responsive, it will not work on mobile devices
  • Restart button text is not centered (I tried to center it but it didn't work, don't know why)
  • The game will crash if you change the spawn delay (500 milliseconds) in the spawnEnemiesGradually() function
  • Some unused variables and functions from the original code are still there
  • The player movement is not very smooth, it could be improved to improve the accuracy of the shots
  • Poor background
  • The game is not very fun, it could be improved by adding more features, like, bosses and power-ups
  • The game is very challenging, it could be improved by adding difficulty levels
  • The game is not well balanced, it could be improved by adjusting the enemyDownSpeed variable and other variables related to the wave system
  • There is no way to pause the game
  • There is no way to quit the game
  • There are no menus
  • There is no way to change the controls
  • There is no way to change the fire rate (just on the code)
  • There is no way to change the bullet speed (just on the code)
  • There is no enemy variety, all enemies are the same
  • The wave count is not displayed
  • The wave countdown is not displayed and work just on the first wave

References:

Space Invaders game from Atari (1978) by Tomohiro Nishikado

Working features

  • Player movement
  • Auto-fire
  • Enemy movement
  • Enemy spawn
  • Collision detection
  • Enemy count
  • Enemy waves
  • Score
  • Game over
  • Restart button
  • Game loop
  • Cross-browser support for requestAnimationFrame
  • Responsive canvas
  • Wave count
  • Bullet speed
  • Fire rate
  • Enemy down speed

On progress for the next updates

  • Game Menu with start and options button
    • Change the keys of movment and dificult of the game
    • Sound FX (disable for now but the options will be created)
    • Grapichs (Same as Sound FX)
  • Some in game improvments:
    • Add of bosses after a number of waves
    • Add some new enemy formations
    • Add some new enemies types
    • Add power ups

Intalation and use

If you want you can just download the zip file of the main branch (important to use the main as it is the version that was tested and gave any issues) then extract the folder in the location you prefer and run the home_jogo file.

--!Note!-- This is just a project and not a product and is not finalized yet.

About

Web Game based on Space Invaders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published