Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 1.78 KB

README.md

File metadata and controls

46 lines (39 loc) · 1.78 KB

Delta

To run the game, open index.html in a browser.

Current functionaliy:

  • "wasd" to move, "g" to fire
  • asteroids & enemies spawn depending on level
  • (testing) asteroids destroyed automatically when offscreen (instead of by player); game automatically progress through levels.
  • basic UI
  • player rotation depends on current level mode (scroller or asteroid)

TODO - main todo's:

  • Systems:
    • asteroid fragments - jason
    • enemy behaviour - jason? -target player or shoot randomly/in some pattern -add projectiles
    • moving bg - daniel
    • sound - ash
    • boss - sukhdeep
    • collision - ahmed?, ash?
    • tests & engine - amanda
  • start menu, game over menu, scoreboard, prev round scores
  • keep player in bounds/on screen, add stayInBounds function to player
  • UI - fix score positioning

TODO - refinement:

  • smooth player movement & rotation, via vel, accel
    • rotate towards a target, rather than raw rotation
    • smooth rotation reset when transitioning via rot velocity
  • testing: refine difficulty scaling of level progression. see LevelProgression [link]
  • transition smoothly between modes, effects, UI indicators, etc
    • ensure all asteroids are deactivated before goign to next mode/level?

TODO - low priority:

  • optimization - stuttering issues?
  • fonts, UI stuff
  • only queue raw key events that we're interested in
  • levelsystem acts like fsm but doesnt implement the exact methods
  • handle window focus, key repeats
  • unchecked: specifying num per spawn: spawning more than maxNum of enemies (if max num is 5, but here 7 is still spawned.)
  • factor out transform? make x, y, rot variables on game object, or have GameObject extend Transform
  • figure out how to use REQUIREJS or something similar, for concatenating multiple js files into one.
  • image/canvas buffering?