Networking Fundamentals
Authority (who decides what?)
Local vs server checks
Player :: class : Player_Base {
ao_late_update :: method(dt: float) {
// Use for gameplay UI and inputs (runs on server + local client)
if is_local_or_server() {
// draw_ability_button(this, Shoot_Ability, 0);
// Handle inputs that affect game state
// Movement is handled automatically
}
// Use for purely cosmetic effects (runs only on local client)
if is_local() {
// UI.text(..., "Waiting for host to start the game...");
// Particle effects, cosmetic UI, etc.
}
}
}Client-specific state
Multiplayer safety rules
Debugging networking issues
Related docs
Last updated