Skip to content

Instantly share code, notes, and snippets.

@SeriousM
Created February 23, 2014 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SeriousM/9178584 to your computer and use it in GitHub Desktop.
Save SeriousM/9178584 to your computer and use it in GitHub Desktop.
Brackets Auto-Complete Error
var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update });
var s;
function create() {
game.physics.setBoundsToWorld(true, true, true, false);
s = game.add.tileSprite(0, 0, 800, 600, 'starfield');
// auto-complete here:
s.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment