diff --git a/cmd/client/ground_system.go b/cmd/client/ground_system.go index aa786a5..5f8b932 100644 --- a/cmd/client/ground_system.go +++ b/cmd/client/ground_system.go @@ -27,11 +27,11 @@ type DirtPatch struct { // Stone ist ein Stein auf dem Boden type Stone struct { - X float64 - Y float64 - Size float64 - Color color.RGBA - Shape int // 0=rund, 1=eckig + X float64 + Y float64 + Size float64 + Color color.RGBA + Shape int // 0=rund, 1=eckig } // GroundCache speichert generierte Tiles @@ -72,15 +72,15 @@ func GenerateGroundTile(tileIdx int) GroundTile { }) } - // Steine IN der Erde generieren (10-20 pro Tile, tief verteilt) - numStones := 10 + rng.Intn(10) + // Steine IN der Erde generieren (30-50 pro Tile, nur eckig, tief verteilt) + numStones := 30 + rng.Intn(20) for i := 0; i < numStones; i++ { tile.Stones = append(tile.Stones, Stone{ X: rng.Float64() * 128, Y: rng.Float64()*dirtHeight + 20, // Tief in der Erde verteilt Size: 4 + rng.Float64()*8, // Verschiedene Größen Color: color.RGBA{100 + uint8(rng.Intn(50)), 100 + uint8(rng.Intn(50)), 100 + uint8(rng.Intn(50)), 255}, - Shape: rng.Intn(2), // 0=rund, 1=eckig + Shape: 1, // Nur eckig (keine runden Steine mehr) }) } diff --git a/cmd/client/web/main.wasm b/cmd/client/web/main.wasm index 8322b19..e36647d 100755 Binary files a/cmd/client/web/main.wasm and b/cmd/client/web/main.wasm differ