I’m using glitch to test out my fork of this love.js standalone player, but whenever I try to load a .love file I always get a 404 error message (Screenshot below). I’ve tried to reupload the .love file but the 404 persists.
The .love game im using for testing (if your interested) is a Tetris clone called STACKR-X.love
Hi @Asterisk - so I’m not familiar with love.js but because you set your frontend to the Glitch CDN url but it’s 404’ing on a URL of that asset as if it were in the root of your app, I’m wondering if the library is not compatible for linking to assets outside the root app folder. I tried the following:
- remixed your app
- opened the terminal and ran
refresh so the file list in the sidebar would sync
- updated line 7 so that it had `var Frontend = “STACKR-X.love?v=1682010854412” as that is the file name that showed in the sidebar.
This still didn’t work so I renamed “STACKR-X.love?v=1682010854412” to just “STACKR-X.love” (removing that cacheing parameter, and then it worked!
Again, I’m not sure why it works that way but it does. Hope this helps!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.