All right, time to get some sleep. Thanks for interesting conversation @sehe @DeadMG. And also @DeadMG get well, and good luck with your doctor visit tomorrow!
@Ell Just deal with it as a binary protocol? So, read until you have the block size/offsets and deal with the blocks on an adhoc basis... It's clumsy but no surprises
@sehe What do you mean by active? The movement component has a speed field which is the one that you set on map_state (which means "run this function when the key is pressed") which is subtracted by the physic system to simulate friction.