pat Posted March 4, 2014 Share Posted March 4, 2014 hello all, I am trying to use webstorm with Phaser. With the example 'Hello Phaser', it works with no problemThe Phaser library is located in the directory build and it works well. Now I want to use Phaser as an external library.So I delete the directory 'build' and this line in index.html<script src="buid/phaser.js"></script>Then in the Preferences panel, I select JavaScript Libraries and 'Add' Then I select the phaser.js library You can see in the top left window that the 'Externals Libraries' contains the phaser.js library.But it does not works, you can see the error message in the console window. Can you help me to find my error ??Thanks a lot Link to comment Share on other sites More sharing options...
sleekdigital Posted March 4, 2014 Share Posted March 4, 2014 That tells Webstorm about the js file, but you still need to tell the browser... you need to keep the script tag in the html.AFAIK, when you do this in Webstorm, it aids in things like code completion and highlighting in the IDE, it doesn't automatically make it load in your browser. Link to comment Share on other sites More sharing options...
Recommended Posts