I want to let my friends play my game I'm making through their phone web browsers. How do I upload my game to be playable on their devices? Not sure how. Thanks for the help.
How do you make your game playable on web browsers?
RPG Maker MZ Supportfor the web version to play, you'll need a webserver/host.
theoretically all you need to do is to upload the project to a folder on the server with ftp, because all MZ-games are HTML5-based and any webbrowser will automatically start the index.html on the folder the game is uploaded to.
biggest problem is that most free hosting sites don't give FTP-access and block direct folder access with ad-frames, because that "free" hosting is paid through those ads, and that usually stops direct webgames.
so if you can affort the few dollar a month for a full access website, anyone will easily be able to play your projects through that website.
it is possible to get everything working on free websites, but that is usually more work.
theoretically all you need to do is to upload the project to a folder on the server with ftp, because all MZ-games are HTML5-based and any webbrowser will automatically start the index.html on the folder the game is uploaded to.
biggest problem is that most free hosting sites don't give FTP-access and block direct folder access with ad-frames, because that "free" hosting is paid through those ads, and that usually stops direct webgames.
so if you can affort the few dollar a month for a full access website, anyone will easily be able to play your projects through that website.
it is possible to get everything working on free websites, but that is usually more work.
Okay. Which websites host RPG Maker games?
You can upload the game on itch.io. I actually wrote a short guide on how to do that here.
Itch.io says you can't upload a zip with more than 1000 items in it. The default RPG Maker folder has almost 1000 items in the IMG folder alone. Then you have everything else. Music, data, plugins, animations, etc. Is there another website that doesn't have this restriction? Thanks.
I don't know about that, so far I could upload browser versions of all of my games on itch.io with no problem. And there are a ton of browser RPG Maker games there. Even full length RPGs. Maybe atleast try it? You can always select "exclude unused files" when exporting your game after all. Maybe default RPG Maker folder has over a thousand image files, but is your game seriously using all of them?
Hmmm...I've never run into that cap on Itch with an MV gamefile.
Are you using the 'Exclude unused files' option when you deploy?
Edit: Oh, this is MZ, sorry...maybe there are more files.
Edit 2: And add to that @Beregon ninja'ing me...I'm just going to turn off my router for a bit and read a book

I never ran into this cap either with MZ.
I did exclude files on the MZ output and barely scraped by with 990 items. Anyway, Itch.io's limit is 1000 items in a zip. Weird, but okay.
I tried and uploaded successfully, however, playing the game in a mobile browser has some seriously bad lag, and I have 5G wifi connection. That, and playing the mobile version on a browser shows some ugly black lines in the game that I have no idea where it came from. So, it looks like mobile browsers are not the best way to play this. I tried outputting to Android via an Android tutorial, but there were so many problems with getting it to work, that I gave up. Not sure what you're supposed to do to get your games playable on a mobile device. MV stands for Mobile Version, yet Degica or whoever has no official tutorial or even an automated guide of doing so. The process is extremely technical and any problems you can run into are not covered by any guide online whatsoever.
Anyway, thanks, you two, for your help. I was able to upload the game to Itch.io, but sadly, the lag, and graphical problems make playing it on a mobile browser pretty unbearable.
Your guide is missing.
I made it for a game jam I was hosting several years ago, so no surprise it's no longer there.
Here it is in its entirety:
It says too many files 1340 > 1000. This is with a complete clean MZ game with no extra images or sound files added at all.
When itch.io makes trouble, you can also look for alternative hosters/web space. Most of them even offer a personal domain. I once wrote a tutorial back then: https://forums.rpgmakerweb.com/index.php?threads/how-to-publish-your-game-as-webbrowser-game.139566/
The default MZ game has the whole RTP inside of it alongside the default database, so no surprise it's too big. Keep in mind, things like the text files that show the name of those tileset tilest in the editor also count. And you don't need those in the game file.
I'm not sure what you mean by RTP, but which specific folders should I delete to get a reasonable file number?
RTP = Default RPG Maker Assets. As for what to delete, any sound files, spritesheets and tileset sheets your game isn't using.
I once wrote a tutorial on how to do this:
Ah, I see the option to only include used files now. Thanks, that's really helpful.
There is more to it though. At least if you use plugins
One tricky thing that browser security improvements have done in the past few years is made it much more difficult to do that preliminary testing you mentioned, where you just start up the index.html and wait for missing files to be reported. Nowadays, because of CORS policies, it will fail horribly when tried on your own PC before it even loads the title screen, unless you've already set it up for that kind of web hosting - most casual RPG Maker users haven't.
Also, rather than a separate map or even a hidden event on a map, I use a Common Event to store all my references to files for "Exclude Unused Files". And several times now I've had to make a dummy plugin using lines like
to handle things that otherwise aren't accessible.
I do still have a problem with my browser version on itch.io showing thousands of identical console warning messages, probably generated by the SRD_HUDMaker.js plugin. But I'm going to have to figure that one out myself...
Also, rather than a separate map or even a hidden event on a map, I use a Common Event to store all my references to files for "Exclude Unused Files". And several times now I've had to make a dummy plugin using lines like
* @requiredAssets img/SumRndmDde/hud/pictures/Roseto handle things that otherwise aren't accessible.
I do still have a problem with my browser version on itch.io showing thousands of identical console warning messages, probably generated by the SRD_HUDMaker.js plugin. But I'm going to have to figure that one out myself...
Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-make-your-game-playable-on-web-browsers.134793/