Networking Test Prototype
A downloadable project for Windows
This is a prototype for another project I'm working on. The goal was to connect multiple devices using GameMaker through literally anything other than GameMaker's rollback networking system. Not that it's a bad system, I just don't want to be limited to publishing on GX Games...
How it works (oversimplified):
The server is very simple, it authenticates clients that connect to it, then just relays packets it receives from those clients to their intended addressees. Its only other real responsibility is promoting a host.
The hosting client receives packets from all the other clients and updates their app state. The host then sends out a packet containing the complete current app state to all other clients.
This project used ChatGPT as an aid for further understanding networking in Node JS. I kept AI usage to a minimum because I generally disapprove of it.
| Updated | 3 days ago |
| Published | 18 days ago |
| Status | Released |
| Category | Other |
| Platforms | Windows |
| Author | ZacDevDude |
| Tags | GameMaker, Multiplayer, Prototype, Text based |
| Average session | A few seconds |
| Inputs | Keyboard |
| Multiplayer | Server-based networked multiplayer |
Install instructions
Download and unzip Networking Test.zip. This contains the actual executable.
Now you will need a server. Stud-Relay-Server.zip contains (hopefully) all the source code you should need to run the server, or you can get it here: https://github.com/ZacKow264-1/Stud-Relay-Server (specifically checkout the commit "Recycling client IDs (they go up to 65535 anyway)", as any later commits will not be compatible).
My recommendation is to CLONE the above repository, go to a free server-hosting site (I used Render https://render.com/) and have it host the cloned git repository.
Once the server is up and running, run the GameMaker executable. Input the server IP address and server port (for Render, these will be the link Render gives you for the server, but replace "https" with "wss", and the port 443). Navigate the inputs with the arrow keys and then hit Enter once you're ready to connect.
The app will tell you once it's connected. You can then go down to the "Message" part and type out whatever message you like!
Up to 10 users can be connected to the server at a time.
Leave a comment
Log in with itch.io to leave a comment.