fix game
Dynamic Branch Deploy / build-and-deploy (push) Successful in 6m49s

This commit is contained in:
Sebastian Unterschütz committed 2026-03-22 18:18:45 +01:00
1 parent ced5011718
commit 656f279a89
7 files changed
+226 -87

No files matched your search

+8 -6
View File
@@ -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