This weekend I started laying the groundwork for mulitplayer support in the engine. The player-related code in the engine was refactored to allow for the concept of multiple players. There’s a little more work to be done when it comes to the logic of certain entities, they react differently in multiplayer settings, but enough was in place to move forward.
To test the multiplayer code, I created the concept of a “demo player”. This is a player whose inputs are entirely determined by a demo file. Here it is in action:
The next steps are to introduce the network transport and start working on support for remote players over the network.