How Would I Make 1v1 Using Sessions?

Posted by BabyGolden12
how would i make a 1v1 or 2v2 using sessions i just don't understand it. im trying to make a new session and teleport the player to another room, like a player sends you a challenge (box appears and if they accept it would go to another room?)

Replies (2)

Last message on 15 May 2020

Aouab on 15 May 2020, 04:35:53
Basically you should make a matchmaking system, in your case you would want to make the player that is challenging to send a p2p message to the player he wants to challenge, then waits for a response if he accepts or not (using p2p again), if he does, the challenger would then create a session and join it as well as the challenged player.
Size43 (Administrator) on 21 Apr 2020, 10:45:44
Which part are you stuck on? Can you explain what you've added to your project so far?