Jump to content

File path


davy421
 Share

Recommended Posts

Hello, I'm not 100% sure if it's Phasers problem, but what happens that me ant two more people use WAMP to run Phaser games on localhost. In a few places in code we  specify the path to some sprite files, for example "../assets/image.png" and it works perfectly for me and the other guy, but it doesn't for one of us because Phaser can't find these images. In order to go around this, he had to drop all the images into the main "www" folder where the index.html are and it suddenly starts working for him. Any ideas what could be causing this? He also only sometimes get Phaser errors like these. And I also want to add that we all have the same exact project on our computers but for some reason, there's this strange bug  for one of us.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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