First, Let's draw some rectangle on the screen. You can check out
function. Be careful that the coordinates of angles in the rectangle might sit
outside of the screen. This might cause to memory access violation.
Then, it is about physic of motion. Also, change the unit from pixel to meter. You can feel that motion is much better.
Each entry of
player_info struct array store the information of each player.
Now, we have multiplayer.
See you tomorrow!