Communication between Unity WebGL and a Page

After building custom Template for Unity WebGL, and creating own JS plugin for it, it’s finally time to make another step! Make communication between Unity WebGL and a page!

I would recommend reading about these two posts before continuing with this one, as we will use know-how from them!

But if you already have an understanding of how to write plugins in JS and create your own templates or how to make your own pages, feel welcome here. ?

Continue reading “Communication between Unity WebGL and a Page”

Separate game logic on the server in Node.js​

How to make code easier to work with? DON’T WRITE IT IN ONE FILE!

And that is exactly what we are going to do here. It will be the last part of the Server-Side WebSocket series.

If you missed previous ones, you can go back to preparing the local environment or writing base for our server.

In this post, we will create a new script responsible for the game part of the server.

Continue reading “Separate game logic on the server in Node.js​”