Building placement

Allow the player to place buildings on the map.

Acceptance criteria:

  • #33 A flat UI panel at the bottom of the screen showing a list of buildings that may be placed
    • #39 Clicking on the building selector will show a ghost of the building at the cursor
  • #37 When hovering over a valid location for the building, the ghost will turn green
    • See #29 for an implementation of building placement
    • Validity: the surface is flat enough for the building footprint
  • When the placement is valid, left clicking will place the building on the map at the given location. The cursor will be cleared

Buildings:

  • #36 Three building types:
    • Colony centre rocket (3x3)
    • Mine (2x2)
    • #38 Sensor tower (1x1)
  • Buildings will be simple meshes, even just as a rectangle. Buildings will have a different colour/tint
  • Building attributes:
    • Status: PLANNED, UNDER_CONSTRUCTION, BUILT, RUINED
    • Title, Description, Category, Uniqueness
    • Resources required to build
    • Time to build
    • Placement rules
    • Power requirements

Terrain:

Current terrain maps are very bumpy with little smooth ground. Refine the terrain generation to ensure more flat areas. Still ensure walkability across levels.

2026-09-30
20% Completed