Black Screen HTML5 Deployment itch.io

Hi,
I'm trying to deploy a game as an HTML5 browser based game on itch.io and when I do all I get is a black screen then after a long time it tells me Error: failed to load: js/plugin/TerraxLighting.js which is a script plugin that I think should have no effect to HTML or the browser.

here is a link to the game on itch.io:
https://ekamu.itch.io/crossed-swords-prototype

Do you get the same problem (blank screen)?
Does it get stuck and show the same error message?

Looking for some play-testing/debugging help. Thanks
all plugins become part of the HTML5-code - that js in the file stands for javascript, the scripting language executed by browsers.

So you need to find out why that plugin can't be loaded, because your game uses and requires it.

This usually means that a file is not found that is required - have you checked if it is really in the correct directory on that web-version?
all plugins become part of the HTML5-code - that js in the file stands for javascript, the scripting language executed by browsers

I made it public so it actually runs the code. I still experience the same problem with draft.

The sound seems off though what's happening. I made my files encrypted does that affect HTML5 gameplay?

EDIT [SOLVED]:
If you're having this problem with itch.io HTML5 deployment (seeing a black screen, random unexplained errors, no audio) do the following...


> Deploy your game as HTML in RPG Maker MV HOWEVER DO NOT ENCRYPT THE AUDIO.
>Make sure your Zip file does not contain any empty directories or it will corrupt the file, and make sure it includes an index.html.
>Release it as Public, THE JAVASCRIPT CODE IS NOT RUN unless it is released not as a draft.
>Make sure you have set the resolution to something NOT AS ZERO.

You can test out my example here:
https://ekamu.itch.io/crossed-swords-prototype

It's now working properly. (sound and everything).
Bump:
This is a deployment issue, need help moving it to deployment.
[SOLUTION TO SOUND PROBLEMS WITH HTML]
Here is what I learned from reading the manual "documentation\ asset standards\ audio files".

* When creating a game that will be played on Windows or Mac, please prepare only the Ogg Vorbis file format. When creating a game that will be released on the web or made for Android/iOS, both file formats are required.

So you will need BOTH MP4 and OGG file formats for web, IOs and Android.
I made it public so it actually runs the code. I still experience the same problem with draft.

The sound seems off though what's happening. I made my files encrypted does that affect HTML5 gameplay?

EDIT [SOLVED]:
If you're having this problem with itch.io HTML5 deployment (seeing a black screen, random unexplained errors, no audio) do the following...


> Deploy your game as HTML in RPG Maker MV HOWEVER DO NOT ENCRYPT THE AUDIO.
>Make sure your Zip file does not contain any empty directories or it will corrupt the file, and make sure it includes an index.html.
>Release it as Public, THE JAVASCRIPT CODE IS NOT RUN unless it is released not as a draft.
>Make sure you have set the resolution to something NOT AS ZERO.

You can test out my example here:
https://ekamu.itch.io/crossed-swords-prototype

It's now working properly. (sound and everything).
Hey thanks so much for trying to help people with HTML problems! This was one of the best threads I found! Unfortunately I am also trying to upload a game to itchi.io, following your instructions but still getting a black screen... I probably have a different problem, but a lot of these things you addressed I wasn't aware of before.

Here is what my ZIP file looks like:

rZafQWs.png



The official .zip file is the www.zip that I'm submitting. But it contains all of the above elements inside of it (The audio, data, etc. zip folders and index.html file). Any suggestions on other things to check for? Still getting a black screen..

Again, thanks though

Original thread: https://forums.rpgmakerweb.com/threads/black-screen-html5-deployment-itch-io.81735/