Increase multiplayer update cadence
This commit is contained in:
parent
50e181249c
commit
3f4392fdd3
2 changed files with 4 additions and 4 deletions
|
|
@ -8,8 +8,8 @@ const MAX_REEL_SPEED: float = 10.0
|
|||
const MAX_BARRIER_DAMAGE: int = 100
|
||||
const INPUT_CHANNEL: int = 3
|
||||
const SNAPSHOT_CHANNEL: int = 4
|
||||
const INPUT_RATE: float = 1.0 / 25.0
|
||||
const SNAPSHOT_RATE: float = 1.0 / 15.0
|
||||
const INPUT_RATE: float = 1.0 / 30.0
|
||||
const SNAPSHOT_RATE: float = 1.0 / 20.0
|
||||
|
||||
enum Outcome {
|
||||
CATCH,
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ const DEFAULT_SESSION_MAX_PLAYERS: int = 8
|
|||
const DEFAULT_TRANSPORT_MAX_CLIENTS: int = 31
|
||||
const CONNECTION_TIMEOUT_SECONDS: float = 10.0
|
||||
const AUTHENTICATION_TIMEOUT_SECONDS: float = 60.0
|
||||
const INPUT_INTERVAL: float = 1.0 / 25.0
|
||||
const SNAPSHOT_INTERVAL: float = 1.0 / 15.0
|
||||
const INPUT_INTERVAL: float = 1.0 / 30.0
|
||||
const SNAPSHOT_INTERVAL: float = 1.0 / 20.0
|
||||
|
||||
signal state_changed(state: State)
|
||||
signal status_message_changed(message: String)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue