Welcome to my blog!

Saturday, November 25, 2023

Trying Hosting Unity games on Web

 This blog is about hosting Unity games on websites. For this I am trying to embed the game into HTML (which I hope can later be made beautiful using CSS or react itself). The game is a simple local two-player 9*9 tic-tac-toe. The game is really just for testing purposes.

If I am successful, there should be a game right below.

 

I used simmer.io in order to host the game and them embedded it in the html of my blog.

 



Trying out other things I also found a really easy way to host my games on GitHub as well. So I just build a WebGL of my games in Unity. I can change the HTML and javascript here and there to change the functionalities. I just upload the build to a GitHub repo - go to settings - pages and simple deploy from the branch I want (in my case, its the main branch)

Share:

0 comments:

Post a Comment

Labels

About Me

My photo
Kathmandu, Central Development Region, Nepal