How do multiplayer games load each framer the same for each player without saving every…
- User
How do multiplayer games load each framer the same for each player without saving every frame beforehand on the device
Assistant
Good question! Here’s how it works: the game only saves “assets” (like 3D models, images, sounds, etc.) to your local device, and not the actual game state. So when a new player joins, the game will just send all of the assets to their device, and their device will load them into memory. The game will then start on the same frame for both players, so that they both see the same game state.
- User
so is every possible frame in the game saved locally?
Assistant
No, only the assets are saved locally. The game state is saved on the server. So when a new player joins, the game will send all of the assets to their device, and then the server will also send the game state to their device.
- User
i Still dont understand? so the server sends the assets?
Assistant
No, the server sends the game state. The assets are already saved on the player’s device.
Here’s how it works:
- The game saves the assets (like 3D models, images, sounds, etc.) to the player’s device.
- When a new player joins, the game sends all of the assets to their device.
- The server sends the game state to the new player’s device.
- The new player’s device loads the assets into memory and starts the game on the same frame as the other players.
This way, the game can start on the same frame for all players without having to save every frame beforehand on the device.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.