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