GameMaker: Studio

GameMaker: Studio

View Stats:
Online Multiplayer via Steam
Update 1:
I am still looking for information, I did find out there is one game, Nidhogg, that from what i can tell did exactly what I am looking for and is also a GMS game. I have sent an Email to the developers hoping they respond.

Original post:
So my programmer and I have been working on our game to have Online Multiplayer (it's a turn based Mini Golf game)
Here it is for the sake of reference.

We have gotten online Multiplayer set up via Port Forwarding (or if players want, Lan Tunneling)
But since we got the game greenlit on steam, we want to use Steam's friend Multiplayer system to connect players together without the need of Port Forwarding.

What I mean is, I noticed in a few online Multiplayer games, you can go to your friend's list and (as long as both have the same game of course) can just click "Join Game. Or even Invite your friend to join a game.

doing this connects the players right up to each other and doesn't require any port forwarding for the players. This is what I am looking for. We have yet to find any guides or anything except one person's GMS Plugin, but he has almost no documentation. We are using the standalone version of GMS (not the In steam version) We have a professional edition and have added our Steam connection to the game.

If there is any more info that I can supply that you need, let me know. Thanks in advance.
Last edited by Diceyed [Liam]; 1 Mar, 2017 @ 9:23am
< >
Showing 1-8 of 8 comments
sitebender 28 Feb, 2017 @ 1:36pm 
Those games use other engines. You cannot do peer to peer as you can with other game engines. No matter how many times I have said this I have yet to be proven wrong.

You'd think it would be possible with GameMaker and people with Youtube videos claim that it is, but they're working on the same network to "prove it works."

Risk of Rain would be the first to use peer-to-peer multiplayer rather than its cumbersome third party system with Hamachi that fakes 2 users being on the same network. Other than that the only ways to get multiplayer are indeed port forwarding or LAN party.

You can always have a dedicated server and use that where 2 players can connect. That seems to work.
Last edited by sitebender; 28 Feb, 2017 @ 1:43pm
Diceyed [Liam] 28 Feb, 2017 @ 1:54pm 
Originally posted by sitebender:
Those games use other engines. You cannot do peer to peer as you can with other game engines. No matter how many times I have said this I have yet to be proven wrong.
I won't call you a liar because I don't have concrete evidence to back me up. All I got is this Plugin I talked about before[github.com]

We did talk to the Author directly and he said:

Originally posted by YellowAfterlife:

So the general idea with Steam is that the host makes a lobby,
steam_lobby_create(steam_lobby_type_friends_only, maximum number of players allowed);

then people can connect to the person via Steam overlay (or you can bring up invitations dialog via steam_lobby_activate_invite_overlay()).

Once in lobby, you can pick through members via steam_lobby_get_member_count() and steam_lobby_get_member_id(index)). The IDs that it returns are then used in all other functions (for creating/comparing ids, see steam_id_).

It sounds to me like it creates a small server in steam, I will be running through this again with my programmer step by step to see if we can get it to work. It doesn't sound like it runs off a P2P system, but that's Okay.


The only other thing is if this doesn't work, do you know of a way to Punch through using a server so we don't need to port forward our game. we are using GMnet to do so, but we don't quite understand how to use GMnet Punch or find a server that we can use for it.
Last edited by Diceyed [Liam]; 28 Feb, 2017 @ 1:57pm
sitebender 28 Feb, 2017 @ 5:48pm 
The plugin is third party. I should also point out that if I were incorrect that would still be different than being a liar.... if you were to call me that.

Good luck.
Last edited by sitebender; 28 Feb, 2017 @ 5:52pm
Diceyed [Liam] 28 Feb, 2017 @ 6:01pm 
thanks. I did look up a list of GMS games and noticed Nidhogg is one, i looked up its online multiplayer and they describe exactly what i am looking for.
skohn 16 Nov, 2018 @ 4:42am 
Any news on this topic.

Just like the topic starter I am also looking for guides on how to setup Multiplayer with Steam & GameMaker Studio.
The Winter Bud 16 Nov, 2018 @ 7:21am 
Originally posted by skohn:
Any news on this topic.

Just like the topic starter I am also looking for guides on how to setup Multiplayer with Steam & GameMaker Studio.
have you tried looking at this[forum.yoyogames.com] topic on the GMC ? There is an example by Yellowafterlife on the first reply.
Last edited by The Winter Bud; 16 Nov, 2018 @ 7:21am
Diceyed [Liam] 21 Nov, 2018 @ 7:37am 
Originally posted by skohn:
Any news on this topic.

Just like the topic starter I am also looking for guides on how to setup Multiplayer with Steam & GameMaker Studio.

Oh yeah, we have since relesed a game on steam that is made in GMS2 that uses steam connection as a way to connect. we found a programmer that understood this.

from what i gather is Steam dosnt host games. it just helps connects players. since we have a 1v1 minigolf game it was easy to make host super light. and steam just helps players connect with some basic info. If you want to know more i can probbly direct you to our network programmer that can explane it better.
Originally posted by Diceyed Liam:
Originally posted by skohn:
Any news on this topic.

Just like the topic starter I am also looking for guides on how to setup Multiplayer with Steam & GameMaker Studio.

Oh yeah, we have since relesed a game on steam that is made in GMS2 that uses steam connection as a way to connect. we found a programmer that understood this.

from what i gather is Steam dosnt host games. it just helps connects players. since we have a 1v1 minigolf game it was easy to make host super light. and steam just helps players connect with some basic info. If you want to know more i can probbly direct you to our network programmer that can explane it better.

Hello, I know it been years but i would like to learn how to do this! Thank you if you see this
< >
Showing 1-8 of 8 comments
Per page: 1530 50