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 (3)

Last message on 6 Jun 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.
BabyGolden12 (Topicstarter) on 6 Jun 2020, 16:33:30
Thank you so much! ^^ this is so helpful for me
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?