A downloadable tool for Windows

Get this tool and 9 more for $15.99 USD
View bundle
Buy Now
On Sale!
40% Off
$14.99 $8.99 USD or more

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:

  1. Install NodeJS and Visual Studio Code.
  2. Open the server folder from VS Code and Run.
  3. Start as many clients as you want.
  4. Arrows to move, Z for Melee and X for Ranged Attack.
  5. For MongoDB, Create a account, insert your URL to server and allow your iP to access it.

Discord: https://discord.com/invite/khJZMbKGRr

Purchase

Get this tool and 9 more for $15.99 USD
View bundle
Buy Now
On Sale!
40% Off
$14.99 $8.99 USD or more

In order to download this tool you must purchase it at or above the minimum price of $8.99 USD. You will get access to the following files:

GameMaker WebSocket.yyz

Download demo

Download
WebSock(Server).zip 14 MB
Download
GameMakerWebSocket(Client).zip 2.2 MB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

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.

Deleted 1 year ago

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. 

Deleted 1 year ago
(1 edit) (+1)

Server is updated