Log inGet started
World

Raise the Roof: Build Mode, Snapping and Base Pieces Kit

README.md

controller

Build mode on one player's machine: it reads the build controls (keyboard, gamepad and touch taps), aims from the pointer or the view, asks buildPlaceKit.snap for candidate poses and buildPlaceKit.rules which fits, colours the ghost, draws the menus, and sends what the player decides to buildPlaceKit.authority. It also finds the door in front of the player for Interact and runs the shared ticker for swinging and burning pieces. BuildMode components drive it once per frame; Build.open, select, setStyle and friends call into it.