realtime-multiplayer-in-html5
realtime-multiplayer-in-html5 copied to clipboard
:computer::earth_africa::computer: Realtime multiplayer game in the browser.
As mentioned in issue #10
For production deployment it's paramount that data exchange between the client and the server is kept to a minimum. Currently there seems to be zero optimization on this area. For...
As adding and removing functionality on the server will definitely impact response times - which is critical in a multiplayer game - it would be nice if there was a...
From my test it seems that players are not currently affected by bullets Can you give me some orientation on how to properly add some sort of damage system to...
Do not loop through every bullet for every player. See #2 comments.
NPCs are super fun!! :laughing: :laughing: Sorry, I know this doesn't help much. I will update this issue with more useful comments once I understand the codebase better but I...
For medium and large maps(rooms) with more than just a few players or npcs in each map, sending all state updates could significantly impact performance and is not really needed...
I changed this line in package.json: > ``` > "start": "DEBUG=*game* nodemon ./server/index.js", > ``` to: > ``` > "start": "DEBUG=* nodemon ./server/index.js", > ``` > > nodemon ./server/index.js", as...
Correct me if I'm wrong but right now it's not possible to install the game engine without installing React and other HTML related dependencies. However, many games do not rely...
[ClientGame.js](https://github.com/arjanfrans/realtime-multiplayer-in-html5/blob/master/client/game/ClientGame.js) is currently mostly a dump for everything that the client should do and it includes helper functions such as lerp and interpolate , network functionality and game logic in...