Add WebAssembly support for assets and chunks, implement gameover screen rendering, and enhance server gameplay logic with dynamic speeds, team naming, and score components.

This commit is contained in:
Sebastian Unterschütz committed 2026-01-04 14:30:31 +01:00
1 parent ce51a2ba4f
commit 95d61bf66e
68 files changed
+913 -424

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
// loadChunks lädt alle Chunks aus dem Verzeichnis (Native Desktop)
func (g *Game) loadChunks() {
baseDir := "cmd/client/assets"
baseDir := "cmd/client/web/assets"
chunkDir := filepath.Join(baseDir, "chunks")
err := g.world.LoadChunkLibrary(chunkDir)