jacobsorme / php

A rep for some php crap. :fish:
0 stars 0 forks source link

setGlobalPlayers - Improvements #23

Open jacobsorme opened 7 years ago

jacobsorme commented 7 years ago

The setGlobalPlayers of script.js could do some checking on the data that comes in. This would require a "oldGlobalPlayers". If a player comes in with data that says "Full speed!" - but still the position is the same as before? That can't be right!

jacobsorme commented 7 years ago

Yoo, fix so that a player does not have to send it's friggin name, color, collisionCount etc all the time - so that it does not have to send things that rarely/never change often?

jacobsorme commented 7 years ago

This has now been addressed, it looks &"/%ยค(#/% AWESOME!!!! ๐ŸŒž ๐Ÿ™ ๐Ÿ’ฏ

jacobsorme commented 7 years ago

Send more often now = silky smooth! Some of the stuff sent are very minimalistic - and all of (except a initialization) is without all that non-changing stuffffff!

jacobsorme commented 7 years ago

Eyy make sure the server does well with this as well - just tested and it does not really handle all that sending as well locally! :sierra_leone: