sam89 Posted September 21, 2014 Share Posted September 21, 2014 sdsadasdsad Link to comment Share on other sites More sharing options...
sam89 Posted September 21, 2014 Author Share Posted September 21, 2014 asdsadsdsdsadsdAsad Link to comment Share on other sites More sharing options...
lewster32 Posted September 21, 2014 Share Posted September 21, 2014 The error is commonly seen when you don't have matching parentheses - look at these two sections from your code and see if you can spot what's different if (game.input.keyboard.isDown(Phaser.Keyboard.P) { if (game.input.keyboard.isDown(Phaser.Keyboard.E)) {Using a good IDE will help prevent these simple typos from happening, as well as maintaining good standards when typing. I tend to open and then close braces, brackets and parentheses straight away, then go back and type the code inside them. Doing it this way makes it easier to keep track of things. sam89 1 Link to comment Share on other sites More sharing options...
sam89 Posted September 21, 2014 Author Share Posted September 21, 2014 Thank you so much. Next time I will keep track on these things. Link to comment Share on other sites More sharing options...
Recommended Posts