Private
Public Access
- Refactor dirt and stone generation to optimize visible depth and adjust randomization.
Dynamic Branch Deploy / build-and-deploy (push) Successful in 8m32s
Dynamic Branch Deploy / build-and-deploy (push) Successful in 8m32s
- Remove unused `StartWebSocketGateway` function from `websocket_gateway.go`. - Add security checks to track player-room mapping, enforce valid input, and prevent ID spoofing in `gateway.go`. - Refactor touch control logic to dynamically position joystick and buttons above gameplay floor. - Introduce dynamic floor Y-coordinate calculation (`GetFloorYFromHeight`) for better scaling across different screen sizes. - Adjust rendering logic to align assets, particles, and debug visuals with dynamic screen height transformations. - Update canvas CSS to support fullscreen scaling without center alignment.
This commit is contained in:
1 parent
d156dce2e7
commit
4be6cc791e
10 files changed
+250
-77
No files matched your search
@@ -25,7 +25,7 @@ func main() {
|
||||
// Das Spiel wartet im Hintergrund bis startGame() von JavaScript aufgerufen wird
|
||||
log.Println("⏳ Warte auf Start-Signal vom HTML-Menü...")
|
||||
|
||||
ebiten.SetWindowSize(ScreenWidth, ScreenHeight)
|
||||
// WICHTIG: Keine feste WindowSize auf WASM - Layout() regelt die Größe dynamisch
|
||||
ebiten.SetWindowTitle("Escape From Teacher")
|
||||
ebiten.SetTPS(20)
|
||||
ebiten.SetVsyncEnabled(true)
|
||||
|
||||
Reference in new issue
Block a user