grifdail

Untitled

Dec 8th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     game.sound.shootSpacecraft = new Howl({
  2.         urls: ["Sound/Laser_Shoot4.wav"]
  3.     });
  4.     game.sound.music = new Howl({
  5.         urls: ["Sound/file1.mid"],
  6.         onload: function() {
  7.             console.log("lol")
  8.             run(context,canvas,game,input,gameConfig);
  9.         }
  10.     });
  11.     game.pause = false;
  12.     //INPUTS
  13.     var input = {};
  14.     input.up = 0;
  15.     input.down = 0;
  16.     input.left = 0;
  17.     input.right = 0;
  18.     input.shoot = 0;
  19.     input.shield = 0;
  20.     input.bomb = 0;
  21.     input.pause = false;
  22.     //LANCEMENT DE run dans Main.js
Advertisement
Add Comment
Please, Sign In to add comment