Jump to content

Trouble with Phaser in VS--please help!


StarBright
 Share

Recommended Posts

I'm new to Phaser and not very experienced with HTML5, and I'm hoping somebody will have the answer because I am at my wits' end!

I'm trying to work on a Phaser project with TypeScript in VisualStudio, and for some reason it doesn't want me to make changes. When I make a change to the code and then rebuild, the changes don't show up--I get the same version of the project I had before. The really weird thing is that today I opened up the project after leaving it alone for 24 hours and using VisualStudio for another project in the meantime, and that time it worked and showed all the changes I had made last time I worked on it--but when I try to make new edits, I have the same problem again and the changes don't show up.

I have tried closing and restarting VisualStudio. Opening and building a different project in VS and then coming back to this one. Removing and reinserting the USB drive containing the project. Rebooting the computer. Nothing works, and I can't for the life of me figure out how I got it to register my changes even that one time! Please help!

Link to comment
Share on other sites

It sounds like you are editing one thing and viewing another.  Check your typescript compilation through to the final output you are viewing, do all the right files change?  Also do you have copies of projects, you think you're playing with the right one but not seeing any effect - if I had a pound for everytime I've done this!

Lastly, the browser cache is not the developers friend.  Refresh your pages with cache disabled, usually this is the default behaviour when the developer console is also open.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...