No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
lib
.gitignore
README.md
entry.js
index.html
package.json
webpack.config.js

README.md

DownFall

preview

Downfall is a brower-based game written in Javascript and HTML5 Canvas. It also utilizes the easel.js library, as well as my own custom game framework.

As the title suggests, players will fall continuously through randomly-generated, vertical levels. Players can land on platforms--some of which are destructible--and must avoid enemies. Or shoot them with their awesome laser gun.

Features

Som fun DownFall features include:

  • Local high scores stored in a cookie
  • Fluid gravity (and cape) physics, all made from scratch
  • Recursively-generated random block structures, created via a PolyTree
  • Dynamically-increasing difficulty: the deeper the player goes, the harder the game gets

Architecture/Framework

All sprite models inherit from a model class, which wraps around easel.js's sprite class, and provides many commonly-used helper functions.

These models are then housed inside of a modelList, which then updates its contents once per screen tick. Doing this allows me to completely separate all model-interaction logic cleanly and simply.