Hi
I’ve uploaded my game to itch.io but it wont run, I get an error 403. Apparently I need to make sure that the paths to the files and folders are relative. I’ve used Parcel to bundle the whole thing following the instructions from Ourcade.
Get Started with Phaser 3: Fast and Painless @ Playful Game Developmet Blog by Ourcade
Is there a way to change the paths to relative through Phaser or some instructions entered into the terminal when packaging the files for distribution?
I have experimented a bit and found that if I change the index.html from this
< script src="/main.dda5c766.js"> to this
< script src=“main.dda5c766.js”>
The game loads but another error comes up involving the main.dda5c766.map file and the game does not look right. So I assume the same thing needs to be done again, but this file is huge.