fix game
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 6m49s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 6m49s
This commit is contained in:
@@ -82,12 +82,14 @@ type Game struct {
|
||||
lastStatus string
|
||||
|
||||
// Client Prediction
|
||||
predictedX float64 // Vorhergesagte Position
|
||||
predictedY float64
|
||||
predictedVX float64
|
||||
predictedVY float64
|
||||
predictedGround bool
|
||||
predictedOnWall bool
|
||||
predictedX float64 // Vorhergesagte Position
|
||||
predictedY float64
|
||||
predictedVX float64
|
||||
predictedVY float64
|
||||
predictedGround bool
|
||||
predictedOnWall bool
|
||||
predictedHasDoubleJump bool // Lokale Kopie des Double-Jump-Powerups
|
||||
predictedDoubleJumpUsed bool // Wurde zweiter Sprung schon verbraucht?
|
||||
currentSpeed float64 // Aktuelle Scroll-Geschwindigkeit vom Server
|
||||
inputSequence uint32 // Sequenznummer für Inputs
|
||||
pendingInputs map[uint32]InputState // Noch nicht bestätigte Inputs
|
||||
|
||||
Reference in New Issue
Block a user