Log inGet started
Package

arena.module

README.md

showcase.arena

Static art for a compact red-vs-blue team arena (70 x 50 m, centred on the origin, floor top at y = 0.03). A scene build calls Arena.build() inside its content() function; it spawns plain (non-synced) scenery under one Arena root entity and returns nothing.

What it builds:

  • a procedural gunmetal plate deck (showcase.arenaFloor shader, from the BattleBox world) with red/blue base zones and hazard edging painted in, and a dark apron hiding the scene's ground beyond the walls;
  • 2.4 m boundary walls with ribs, team-coloured light strips and corner towers, tiered grandstands and floodlight masts outside them;
  • a RED base in the west and a mirrored BLUE base in the east: command deck, gate pylons with a banner and diamond emblem, flag poles, side walls, front cover, glowing spawn rings and team point lights;
  • a neutral middle: centre circle, halfway line, flank cover, crate stacks, sight-line pillars, and a raised catwalk with ramps under the screen;
  • a lobby pad at LOBBY_SPAWN with lamp posts and an arch;
  • a stadium-screen stand (pillars, back panel, header, plinth) behind SCREEN, leaving the 14 x 8 m screen area itself clear.

Solid pieces carry a BoxCollider. It does not create players, spawns, cameras, a sky or a sun; only local accent point lights.

Constants, for code that places spawns and the screen:

  • Arena.RED_SPAWNS, Arena.BLUE_SPAWNS: five {x, y, z} spots per team (red faces +X, blue faces -X).
  • Arena.LOBBY_SPAWN: {0, 0, 16}.
  • Arena.SCREEN: {0, 7, -21}, centre of the floating board.

Materials live in showcase/materials/ (arenaFloor, arenaMetalDark, arenaPanelLight, arenaRedPaint, arenaBluePaint, arenaNeonRed, arenaNeonBlue, arenaNeonGold).