Launch game on Github Pages
Last updated
Last updated
It's time to launch your awesome game. How do you do it?
The easiest way would be to use https://itch.io platform, but it has a couple problems. For one, people coming to your game have to come to itch, so it doesn't look as legit. Also, the web3 features may now work, we know that itch doesn't work with Phantom wallet for some reason.
One of the best ways, which is also free, is through Github Pages. It may require some more work, but trust us, it's going to be worth it!
First, go to Project -> Export. Here, you will have to do a very important thing. Set Extenstions Support to true and Thread Support to false. Extensions support is needed to run the SDK inside the build, and thread support off makes your game compatible on all browsers and operation systems.
Finally, press Export Project. Make sure that the name you are saving your game as is index.html. Please keep "export with debug" option on, because there are some issues with SDK's release libraries at the moment.
Create a Github Repository for your game. You can do it very easily by downloading Github Desktop and watching some tutorial if you're new to it. Once you have the repository created, drag all the files from the build folder created in step 1 into that repository.
When you have your repository pushed, you are finally ready to launch its page. Make sure the repository is open for everyone. If it's private, you will need a paid version of github to launch it.
In github, find your repository, and then go to Settings -> Pages and choose the page to be created from the origin branch. Wait a couple of minutes and your game will be live to play for everyone!
If you want, with some extra work you are able to add your own custom domain, but that you can figure out for yourself!