Quantcast
Channel: JavaScript and TypeScript — Photon Engine
Viewing all articles
Browse latest Browse all 162

Matchmaking in JS, send users to Unity

$
0
0
Howdy...

I am making a game in unity and wanted to make a game client that loads it up. I have an electron + angular app that I code in JS/TS. It handles authentication, out of game store, etc. It is able to obtain a custom JWT token and pass that to my unity client, which uses this to get user info from another service I have.

What I'd like to do is handle matchmaking within my JS app and once the match has been found and players have selected their loadout, send them to unity with the photon game id and any connection information needed.

I've been looking through the realtime JS sdk docs, and it just looks like chat and load balancing is there. Alternatively, if there was a RESTful api, I could make calls to that.

Is such a thing possible?

Viewing all articles
Browse latest Browse all 162

Trending Articles