nicwins Posted May 8, 2017 Share Posted May 8, 2017 When I tried upgrading my phaser build from: phaser.2.3.1-virtual-joystick to Phaser.js (version 2.7) AND phaser-virtual-jostick.js I get the following error? TypeError: plugin is undefined[Learn More] Phaser.js Why is that? Link to comment Share on other sites More sharing options...
nicwins Posted May 8, 2017 Author Share Posted May 8, 2017 works with the virtual-joystick.min though so dont worry Link to comment Share on other sites More sharing options...
rich Posted May 11, 2017 Share Posted May 11, 2017 Not sure without seeing the code, but it sounds like the plugin was loading before Phaser was ready? Did you have both js files in the html as script tags? Link to comment Share on other sites More sharing options...
Recommended Posts