Support dynamic 2–8 player Space Shooter from selected pods.

Replace the fixed left/right split with selectable pod slots and a scalable grid layout so player count follows the chosen pods.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-01 23:36:42 +01:00
co-authored by Cursor
parent 142968038c
commit 2138039b72
3 changed files with 563 additions and 273 deletions
+526 -227
View File
File diff suppressed because it is too large Load Diff
+12
View File
@@ -25,6 +25,18 @@ static func named(name: String) -> AtlasTexture:
return region(211, 941, 99, 75)
"playerShip1_orange":
return region(247, 84, 99, 75)
"playerShip1_green":
return region(237, 377, 99, 75)
"playerShip1_red":
return region(224, 832, 99, 75)
"playerShip2_blue":
return region(112, 791, 112, 75)
"playerShip2_orange":
return region(112, 716, 112, 75)
"playerShip2_green":
return region(112, 866, 112, 75)
"playerShip2_red":
return region(0, 941, 112, 75)
"laserBlue01":
return region(856, 421, 9, 54)
"laserRed01":