Sign in to follow this  
callidus

How to set up Phaser in Brackets IDE

Recommended Posts

I downloaded Brackets and opened my files in it, but once I open the html file the canvas is all black and two errors come up. These 

are,

 

error 1: 

Failed to load resource: the server responded with a status of 400 (Bad Request)

 

and 

 

error 2: 

  1. Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://127') does not match the recipient window's origin ('http://127').

 

*note: I took out some of the numbers in the brackets of the second error since it displays personal data regarding the server. 

 

Thanks for any help :D 

Share this post


Link to post
Share on other sites

Don't open the file(s) seperately, but the containing folder (File->Open Folder). Then select your "index.html" on the left and hit the live-icon (looks like a little flash on my system) on the right.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.