Skip to content
scrolling star background for HTML5 games [mainProject]
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
coffee
css
js
library
.gitignore
Cakefile
LICENSE.txt
README.md
compiler.jar
index.html

README.md

Canvas Scrolling Stars

For making a cool side-scrolling star background in HTML5 Canvas games without making images.

View the demo here on my website!

TODO

  • Randomized star colors
  • Make different sorts of stars
  • Turn this into a proper library with like tests and an NPM/bower distribution and stuff instead of just a janky "starfield.js" file in the "library" folder
  • Add instructions for how to use

Tech/Libraries used

Music/SFX Credit

  • bfxr for sound effects
You can’t perform that action at this time.