Progress: Added movement interpolation for network player position updates. Previously I was just instantly updating their position to the latest network event which is jittery. Code in place but the values need tweaking.
On the topic of player movement in general for Ygg Engine, a server can globally define either:
- Free movement; Movement in 8-directions (up,down,left,right & combinations eg: up+right=moves "right" on the isometric tile track)
- Grid movement; Keeps players in the center of tiles they stand (think OSRS). Players will do the running animation between tiles, but effectively they are sliding between them that way I see it.
- Instant grid movement; roguelike tile movement
Some other notes:
- We track the players N,S,E,W cardinal facing direction
- Separately we have a sprite facing direction for left vs right facing
- A hybrid movement system is on my radar, where we might do the free movement when in combat, but otherwise do grid movement for players