FlatRedBall Web games can be uploaded to itch.io. This guide provides a walkthrough for uploading your game.
You must first publish your game through Visual Studio before uploading it to itch.io. For more information, see the Distribution page.
Uploading a Build
Once you have published your build through Visual Studio, you should have a folder similar to the following image:
Example published web project
Note that at the time of this writing itch.io does not support .br (brotli compressed) files. These and .gz files can be removed to reduce the size of your build. To do this:
Search for .br files in your wwwroot folder
Delete all .br files
Repeat the search for .gz files in your wwwroot folder
Delete all .gz files
Search for *.br, select all files, then delete all files
Open the wwwroot and create a .zip file with the contents.
Compress the contents of your wwwroot
Next, log in to your itch.io account and select the option to Upload new project.
Select the Upload new project option
Fill in your project's information, but be sure to set Kind of project to HTML.
Select the HTML option
Click the Upload Files option and select your .zip file that you created earlier.
Click the Upload files button to upload a .zip file
Check the This file will be played in the browser option.
Check the option to indicate that this game is played in the browser
You can specify the resolution for your project. Typically you should have your project run at a multiple of your native resolution so that pixels draw correctly. If your game uses a smaller resolution for a pixel aesthetic, you may want to set the resolution at two or three times the native size.
For example, consider a game which is set to a resolution of 398x224:
Resolution set to 398x224 in the FRB Editor
You can set the game to render at 300% scale by setting the size to 1194x672: