Skip to content

sync broken and moved map objects, streamed to the players around - #137

Closed
koltrbtw wants to merge 1 commit into
Tornamic:mainfrom
koltrbtw:upstream/world-object-sync
Closed

koltrbtw wants to merge 1 commit into
Tornamic:mainfrom
koltrbtw:upstream/world-object-sync

Conversation

@koltrbtw

Copy link
Copy Markdown

Breakable and movable map objects (fences, lamps, petrol pumps...) are broken or moved by the player whose game did it, the others get the final state; the server keeps the states and streams them to the players around (a late join or a player coming closer gets them quietly, without the explosion).

For that the server now keeps every player's last position (from its on-foot, driver and passenger updates).

Video (Recorded with two local clients on one machine: left is the host, right is the second player.): U19-world-object-sync.mp4

The host breaks a petrol pump at the Idlewood gas station: the fire and the chain of explosions are the same for player 2.

@Tornamic Tornamic closed this Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants