I think it is about time to implement "Input Playback" feature. For now, the maximum minutes of input I can record is about one hour, which I think is fine now.
I figure out the stuck problem. If you are interested, you can check out this commit.
There is another problem I think is about floating point precision.
When one player is on the other player and the player beneath press the up botton and release it, it will sunk into the ground.
I sort of know there is something wrong in
ClipDimToValide, especially the
Theta, but I am not sure how I want to handle it. Maybe I should
watch Week 16 of Handmade Hero, or I could leave it until I wrote the engine
version of collision detection. Let me think about it...