lilchow Posted August 5, 2015 Share Posted August 5, 2015 At least two examples on the official website failed to work.1) http://phaser.io/examples/v2/input/override-default-controls2)http://phaser.io/examples/v2/input/keyboard-justpressed Based on the info shown in Chrome console, both examples encountered the same error: justPressed is not a function. Does anyone have any ideas about it? Link to comment Share on other sites More sharing options...
8bitgrit Posted August 6, 2015 Share Posted August 6, 2015 I can confirm. I compared the justPressed() function to the help docs, and it appears this function is only valid with the pointer (mouse). I suspect they were rushing to update the examples. Link to comment Share on other sites More sharing options...
Recommended Posts