Axel Meyer 6d1a995d74 fix(P.3.8): use math.floor() for %d format in frame-30 CI trace
units[1].x/y are floats after movement; %d requires integers in Lua 5.4.
Caused update hook error on frame 30, silencing the position trace.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 18:11:36 +02:00

rts-prototype — v0.1.0

Pure-RTS Composer-Demo integriert P.3.4-P.3.7 Libs.

Controls

  • LMB-Click: Select a unit
  • LMB-Drag: Box-select multiple units
  • Shift+LMB: Add to selection
  • Ctrl+LMB: Toggle unit in selection
  • RMB-Click: Move selected units to clicked map-position
  • WASD / Arrows: Pan camera
  • Mouse-Edge: Edge-scroll camera
  • Middle-Drag: Pan camera by dragging
  • ESC: Return to launcher

Demo

8 units in 3 speed-classes (rot=100, braun=150, gelb=200 px/s) clustered in the left half of a 20×20 map. Move them across the map; speed-variation visible. Units walk through wall-clusters (direct-line-move; pathfinding deferred to P.4).

Deps

  • lib-core.maps, lib-core.render — map + rendering
  • lib-core.camera v0.3.0 — free-pan + screen-to-world
  • lib-core.input v0.3.0 — action bindings
  • lib-core.selection v0.1.0 — click-select + drag-box
  • lib-core.command v0.1.0 — RMB-to-move

See meta/docs/superpowers/specs/2026-05-14-p3-8-rts-prototype-design.md for full design.

Description
P.3.8 rts-prototype v0.1.0 � Pure-RTS Composer Demo integriert P.3.4-P.3.7 Libs
Readme 54 KiB
Languages
Lua 92.9%
Shell 7.1%