Search code examples
networkinglogicgame-makergmlmatchmaking

Gamemaker studio 2 matchmaking


I just finished building a MOBA-like game in node.js for the web platform. Now I am planning on redoing it as an actual game in Game maker studio 2 while fixing some bugs and adding some new features. I ran into a problem a while back, however, I couldn't figure out the matchmaking (Game maker was my first choice but I switched to web because of this problem). I built the matchmaker in javascript as an array, however, I feel this will be problematic when there is a lot of players trying to find a game. I don't have any code in Game maker yet because if it is not relevant to do it I might try switching to a different game engine.
Matchmaking:

    1) Like smite or league of legend, where you can accept or decline a match
    2) Someone in one game shouldn't be able to interact with another game.

I would really appreciate any help. I just need help understanding the logic for gamemaker because the networking is different and there is a room system.

Thank you very much!
Brandon Lacy


Solution

  • Please check the manual, networking part of. Also, GMNet engine exists, you may find it handy.