Skip to content

Commit

Permalink
nothing much
Browse files Browse the repository at this point in the history
  • Loading branch information
severest committed Nov 8, 2012
1 parent 1746891 commit 492d60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ window.onload = function () {
//the loading screen that will display while our assets load
Crafty.scene("loading", function () {
//load takes an array of assets and a callback when complete
Crafty.load(["imgs/*.png"], function () {
Crafty.load(["imgs/bullet.png","imgs/cloud1.png","imgs/enemy.png","imgs/explosion.png","imgs/forky.png"], function () {
Crafty.scene("title"); //when everything is loaded, run the main scene
});

Expand Down

0 comments on commit 492d60e

Please sign in to comment.