ZakBerkelaar / MyGame

A WIP multiplayer Terraria like game with a few basic features
GNU General Public License v3.0
0 stars 0 forks source link

Smooth out networked entities and systems #10

Open ZakBerkelaar opened 3 years ago

ZakBerkelaar commented 3 years ago

Both networked systems and entities need a way to interpolate or extrapolate to reduce the hard jitter that comes from only receiving new position data at about a rate of 10-20hz. Ideally, a system would be implemented that both entities and systems could use but that is not a requirement. The existing gradient class could probably be reused for this problem but the extrapolation (#9) would need to be fixed first.

ZakBerkelaar commented 2 years ago

Now that entity interpolation is kind of working (seems a wee bit linear) systems interpolation is now required