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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user