Tower defence game – ImpactJS

Live game:

Code base:

level/ main:

  • welmister background, collision
    layer entities — change zIndex then call sortentitiesdefer
    images – transparency
    get new font color and size/bold? – impact tool
    camera follow player center
    states – menu credits game game over
    timer for bonus
    text fading and flashing use alpha
    health bars
    scores and resources
    countdown wins
    level advancement by timmer and replays


  • options for classes and bonuses
    different animation sprites
    in range detect closest monsters
    mouse click for movement and targets
    movement facing directions


  • change animation when clicked
    clickable entity change the display information on the buttons
    on collision minus health with monster


  • change animation when clicked
    built collision using distance to player
    play sound when attack


  • bullets fly spawn entity
    kill() on collision with monster, set moving ignore map collision

Not done yet:

  • mouse:
    hide mouse cursor
    change mouse display on clickable stuff? —– not done draw mouse
    clicked target circle spawn? then kill after 1 second? —– not done
  • scoreboard
    create .min.js file — use the tool script
    hosting – no src files: imact & welmister

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s