Browser Autoplay/CORS policy is making my P5 web game not work

Hello. I made the game in this url: http://bunnypop.bizsb.com/ as part of a class project last year. The game has worked fine until recently. It has suddenly stopped working and I suspect it is because of browser Autoplay or CORS policy from checking the console errors. Could some one please help me?

1 Like

The link gets me to your folder listing of your game. Can you describe how to reproduce the error? Provide steps, actual error messages and optionally a screenshot.

Kf


Thanks! I’ve attached a screenshot above showing error messages in console log and page showing “loading” message. All error messages pertain to being unable to access the sound assets (they’re definitely in the right folder with right path). Primary error message is about being unable access p5.sound.min files (definitely there) but these probably indicate why sound assets can’t be accessed. I provided the folders in the url but if you click on thr folder called bunnypop, it starts the webgame home page by going to the index file and should show a page similar to my screenshot if clicked on.

1 Like
3 Likes

Thank you! That was really helpful. Problem solved :)!

Glad your problem was solved! Is your game available online somewhere?