Help this tool reach its goal

Raised
$124.69
Goal
$150.00
83%
of goal
14
contributors
$8.91
average contribution
$14.99
top contribution

A downloadable tool for Windows

Get this tool and 5 more for $9.99 USD
View bundle
Buy Now
On Sale!
20% Off
$9.99 $7.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.

Features:

  • Server-sided movement, collision and health for less lag and less hackers.
  • 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.

Want support from this project? join my discord group: https://discord.gg/fxCRs9e

Purchase

Get this tool and 5 more for $9.99 USD
View bundle
Buy Now
On Sale!
20% Off
$9.99 $7.99 USD or more

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

GameMaker2.3+ With Updated Server 333 kB
GameMaker2.3+.yyz 334 kB

Download demo

Download
Client.zip 1 MB
Download
Server.zip 4 MB
Download
Updated Server 3 MB
Download
Updated Client 1 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.

There aren't that many features to make modules, it's just to help you get started using node.js, JavaScript is similar to GameMaker2.3+, I made it easy as possible and not advanced and put everything in one file, I will update it as soon as I can with more features and documentation.

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. 

Collision is just checking bounding box of x and y in server also discord is working fine try again

(1 edit) (+1)

Server is updated

(1 edit)

If you have any performance issue set FPS=1000/60 instead of 15.5 and add compensation to speed.