Log inGet started
Package

main.scene

This package holds more than this page lists. See all of its files in its world.

README.md

main: the Field Command showcase

A real-time strategy skirmish on the River Crossing map, built with rtsKit. A river with two stone bridges and a ford splits a 160 by 120 m valley of grass, dirt roads, rock outcrops, tree groves and six gold mines.

  • Blue (west, medieval): your side. A town hall, a barracks and 20 units to command: 5 workers and a mixed army of soldiers, archers, a siege engine, a scout, a healer, a flier and a hero.
  • Red (east, sci-fi): a computer opponent with its own town hall, barracks, workers and soldiers. It gathers, trains and sends its first wave across the river within about a minute and a half. A second player who joins takes Red over (its base, workers and army), and the computer plays it again when they leave.
  • Fog of war covers the map; enemy units and the training badges of enemy buildings stay hidden until your units see them.
  • The gallery plaza south of the river shows every formation, unit type, selection look and fog look, and the panel on the left switches them live.

Each screen draws the match through its own strategy camera (an RTS player is a camera, not a body). build.luau states the whole scene as code with rtsKit.api and rtsKit.maps.api, and scene.json holds the baked result, so the match is there the moment the world opens.