Private
Public Access
1
0

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
2026-01-04 14:30:31 +01:00
parent ce51a2ba4f
commit 95d61bf66e
68 changed files with 913 additions and 424 deletions

View File

@@ -83,7 +83,7 @@ func (w *World) GenerateColliders(activeChunks []ActiveChunk) []Collider {
continue
}
if def.Type == "obstacle" || def.Type == "platform" {
if def.Type == "obstacle" || def.Type == "platform" || def.Type == "wall" {
c := Collider{
Rect: Rect{
OffsetX: ac.X + obj.X + def.DrawOffX + def.Hitbox.OffsetX,