ExcavatorControls.inputMap
Versions
Every version of this package its world published, newest first by when it first appeared. A version published again later keeps its place.
Put the arm and the bucket on screen for a phone The touch overlay draws a stick for a touchStick and a circle for a touchButton; it cannot lay buttons out from inside an axis. So the arm and the bucket — an axis each on a keyboard and a pad — now also declare their two directions as touch-only buttons, and the controller folds them back into the same axis. Without this the arm could not be worked on a phone, which is half the game.
01M52SD61QAA74G0C1GGM9993Fbf46f9b3eaBrowse filesCompare with previousCompare from hereExcavator simulator: a playable tracked machine on a construction site A yellow tracked excavator built from articulated parts (house, boom, arm, bucket, hydraulics), a dump truck, a dirt heap and a working dig loop: fill the bucket in the heap, swing to the tipper, dump, and the tipper raises and counts the load. - Construction.module: hand-built geometry - a track loop with grousers, an open bucket shell with teeth, a lumpy dirt heap, swept beams. - ExcavatorControls.inputMap: travel, steer, slew, boom, arm, bucket, each carrying keyboard, gamepad and touch. - ExcavatorController: drives the machine, poses the arm, runs the dirt loop. - Hud + ExcavatorHud: the on-screen display. - scenes/main.scene/build.luau: the whole site, authored as code. --- Document the site: what it is, how the dig loop runs, and the three engine behaviours it depends on
01M52S67CK56HY9YK20G4BECZS780ac83139Browse filesCompare from here