Log inGet started
World

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

README.md

buildPlaceKit.art

What every piece kind looks like in every style. Art.parts(kind, style) returns the look as plain data (mesh, material role, placement in piece space, moving for door/gate/lid leaves, fx for flames), so ghosts and previews redraw it with their own materials. Art.spawn(parent, kind, style, opts) builds it as temporary child entities, with boxes and logs on runtime meshes whose UVs are laid out in metres, so wood, stone and hull panels show at real-world size on any beam or panel. Two flavors: timber (log posts, beams, plank infill, dry-stone footings, thatch) and panel (bevelled hull panels, deck plating, hazard stripes, glowing cyan trim). Art.setOpen swings the door, gate and chest pivots, Art.tick flickers flames and lights, and Art.lightBudget(n) keeps only the n piece lights nearest the camera burning, so a base with fifty torches stays cheap. Art.icon(kind, style) returns the 256 px menu picture rendered for each kind and style (icons/<style>_<kind>.png).