Uploading Your Unity Game Onto itch.io
Goal: Upload the SpaceShooter game onto itch.io as a WebGL build
To test out your game in browser with WebGL, we used XAMPP. Another way is to upload it on itch.io, which is a site to upload and play indie games.
In your Unity project, make sure the Color Space is correct (Project Settings > Player > Other Settings)
Then go to File > Build Settings
Choose WebGL and click Build:
Choose a designated folder:
Then, right click it create a zip of the folder:
Then go to itch.io and create a new project:
And under Kind of Project, select HTML
Click Upload files and select your zip folder:
Make sure dimensions are correct:
Then click save and view page.
Once you do, you should be able to run your game in browser!
And that’s all! Thanks for reading, and hope this was helpful! Have a great game-dev day!