Test the game here:
Keyboard press networking send, instead of every frame.
Player vs player
Server sided moving enemy.
Coordinations are updated every while if any problem happens.
Smart double login protection.
Login to last joined room.
Normal EXP gained from hitting monsters and more EXP when they die.
Town safe zone.
5 Attack spells.
Accounts registration, and other information saved to ini files in server.
Mostly commented, See Notes.txt in project for information.
Simple code and not hardcore.
Works online if you portforward.
Pure GML networking.
Players can only see each other in same room.
Made with no extensions works on all platforms [Use network_socket_ws in HTML]
How to use:
Step 1: Start server.
Step 2: Open another game and start client as many as you want.
Added player vs player. Fixed when other player gets attacked it desyncs. Added a new empty room. Added test it online in itch.io test client.