Skip to content

Instantly share code, notes, and snippets.

@pr00thmatic
Created August 5, 2014 03:03
Show Gist options
  • Select an option

  • Save pr00thmatic/2937f6855d3068644e78 to your computer and use it in GitHub Desktop.

Select an option

Save pr00thmatic/2937f6855d3068644e78 to your computer and use it in GitHub Desktop.
// función indispensable para phaser.
function preload() { //Cargando los recursos que necesitaremos.
game.load.image('wall', 'assets/wall.png');
game.load.image('acera', 'assets/acera.png');
game.load.spritesheet('uno', 'assets/uno.png', 16, 16);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment