Best Practices
Tips for networked state machines
Minimize Network Traffic
Good Example
Actions Node [RPC to All]
โโ Action: Damage Enemy
โโ Action: Update Health Bar
โโ Action: Play Hit EffectBad Example
Actions Node [RPC to All] โ Damage Enemy
Actions Node [RPC to All] โ Update Health Bar
Actions Node [RPC to All] โ Play Hit EffectHandle Late Joins
Avoid Non-Deterministic Logic
Avoid
Use Instead
Separate Concerns
Use Variables for State
Test Early and Often
Last updated