A very simple asset (images, sounds) preloader for JS games.
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
audio
coffee
images
js
README.md
index.html

README.md

Asset Preloader

Use it like this:

new Loader(['images/bla.png', 'audio/sound.wav'], function(){
  alert("All preloaded!");
});