Players meeting in North Haven, online. What This Module Does
reactor_online_action.js: other players in your Action or First Person battle
Nobody takes turns here, so nobody waits. Each player moves and aims on
their own game, and their body reaches the others the way anyone's does,
over the Engine's line. A player's unit stands on that body (unit.peerSlot:
their Game_RemotePlayer), so enemies chase it and shots stop on it.
Classes & Namespaces
Design Notes from the Source Code
reactor_online_action.js: other players in your Action or First Person battle
Nobody takes turns here, so nobody waits. Each player moves and aims on
their own game, and their body reaches the others the way anyone's does,
over the Engine's line. A player's unit stands on that body (unit.peerSlot:
their Game_RemotePlayer), so enemies chase it and shots stop on it.
The game that started the battle hosts it: it runs every enemy and rolls
every blow. A guest's game runs no enemies. They walk where the host says,
ten times a second, and shots seen on it are only pictures. What the guest's
own weapon meets it reports as ahit, because a shooter should hit what
they saw, and the host rolls it and tells everyone the result (ares).
Messages take the Engine's relay when there is one (bf), and the battle's
log when not. Design: docs/DESIGN-ONLINE.md#shared-battles.
View reactor_online_action.js on GitHub · Show internal (_) functions