Sign in to follow this  
callidus

Is a local web server necessary to code in Phaser

Recommended Posts

Is a local web server like cloud9 necessary to code in phaser? I heard about it recently but up until now i have simply been opening 

the canvas on my web browser and everything has been working fine. I dont use anything like cloud9 to run my code and havent had 

any problems. But even the phaser setup talks about downloading a local web server. So ultimately im confused, do we really need one, and if so why. I dont seem to have any problems just coding and opening it in my browser. 

Share this post


Link to post
Share on other sites

Unless you've changed your security settings browsers will tend to not be very happy with you loading assets. It's generally very easy these days to set up a web server, and if you plan to deploy to the web then you really should have a local server to ensure it works as intended.

Share this post


Link to post
Share on other sites

If you don't want to setup a local server on your own (for example with Xampp), 

then I recommend you use something like Brackets (http://brackets.io/) or

Netbeans. They come with their own build-in, ready to use local web servers,

where you can test your game with one click.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.