๐๏ธ Player nametags
In multiplayer games, you often want to know who else is playing the game with you.
๐๏ธ Shared collectibles
This example demonstrates a multiplayer game where each player controls a character, and there's a shared collectible gem which only one player can collect.
๐๏ธ Detect when players join or leave
In this example, we have a multiplayer game where every player controls a character. There's also a session-controlled manager actor which always maintains information about the number of players in the session. When a player joins the session or leaves the session, we want to run logic on the manager actor.
๐๏ธ Run local animations
In this multiplayer example, we have a shared character that can collect a shared gem. When the gem is collected, we want to show a particle effect. The particle effect adds polish, but doesn't have any impact on the game. The particle effect should appear for all players and should animate smoothly.
๐๏ธ Change shared state from "Repeat every N seconds"
Suppose we want to do some shared, session-wide work every N seconds, forever. In this multiplayer example, we're going to spawn shared gems in the scene every 5 seconds.
๐๏ธ Send all players to a card
This multiplayer example demonstrates a situation where one player takes an action that causes all the players on the same card to be sent to another card in the deck.