GameMaker And Nodejs WebSocket
A downloadable tool for Windows
Get this tool and 9 more for $9.99 USD
Buy Now$14.99 $11.99 USD or more
On Sale!
20% Off
A example of WebSocket and GameMaker that can run on any platform, you can start learning from that example and do your own MMO.
- Server-sided movement, collision and health for less lag and less hackers.
- Login system with MongoDB.
- MongoDB accounts, Saving Player x, y and Health. and fetches when you reconnect.
- A* Pathfinding for enemies on server using easystar library.
- No Double Login.
- 2 Attacks, Melee and ranged spear.
- Attacks can hit multiple players.
- Low bandwidth usage, Doesn't send every frame.
- Push back hspeed from server.
- No sync issues, if you lag other players will be fine but the lagger.
- Can host more players than GameMaker which is limited to 1024.
- Works on all platforms that support WebSocket.
The Server2 file has more commented code and organized with password encryption.
How to use:
- Install NodeJS and Visual Studio Code.
- Open the server folder from VS Code and Run.
- Start as many clients as you want.
- Arrows to move, Z for Melee and X for Ranged Attack.
- For MongoDB, Create a account, insert your URL to server and allow your iP to access it.
Updated | 8 days ago |
Status | In development |
Category | Tool |
Platforms | Windows |
Author | Bukmad |
Made with | GameMaker |
Tags | demo, GameMaker, gamemaker-studio, mmo, Multiplayer, networking, online, source-code, Tutorial, yyz |
Average session | A few seconds |
Multiplayer | Server-based networked multiplayer |
Links | Support |
Purchase
Get this tool and 9 more for $9.99 USD
Buy Now$14.99 $11.99 USD or more
On Sale!
20% Off
In order to download this tool you must purchase it at or above the minimum price of $11.99 USD. You will get access to the following files:
GameMaker WebSocket.yyz
Download demo
Development log
- Small UpdateMay 28, 2023
- ResourcesSep 22, 2021
Comments
Log in with itch.io to leave a comment.
The node.js server itself lacks a lot of documentation, there's actually not any documentation. I'm sure this was meant as a prototype tool, but understanding how and why certain things are done isn't possible. The server file itself is also around 1230 lines of code instead of seperating content into other files like enemies, rooms, grids. Again, for the price currently it might be worth it should you be very familiar with Node.JS, but for someone dabbling into the understanding of multiplayer games I do not recommend this product. I'd gladly change this comment if Bukmand should update it.
I understand, though a bit of documentation would be preferred. I'm not trying to bash you and I do want to state that I'm not very experienced in NodeJS, but yeah a quick comment on some of the code or maybe a video that's posted on YT going a bit more in-depth would suit this project very well.
Is there collision detection in it? If so, is it a dependency or something you coded yourself?
Your Discord link doesn't work either by the way. I tried to join it before commenting.
Server is updated