main.scene
- .build.state16 B
- .metadata17 B
- README.md3.0 KB
- authoring
- build.luau12.2 KB
- entrypoint.luau7.2 KB
- scene.json91.6 KB
README.md
main: the barsKit showroom
This is Gaugeworks' only scene, a live showroom for barsKit, the health and resource bar kit this world publishes. Everything here shows what the kit draws and how it behaves in a real multiplayer game.
What you see when you open it
You spawn on a checkerboard floor under an afternoon sky, facing three targets:
- The barsKit gallery. It opens at start and fills the part of the screen the HUD leaves free. All 21 looks sit side by side, all following one value that drains in bites, waits at empty and refills. Each card gives the look's name, its id and theme families, and a gold line with its shape, where it goes (screen or world) and its size. On a desktop-sized window every look and every label is on screen at once, with no scrolling. Chips along the top filter by theme family, recolour every bar as a resource kind, toggle the numbers and add Lifeline's 13 looks.
- Your HUD. Your health (with a regenerating shield) is a ghost bar in the top-left corner, your stamina is an arc beside the crosshair, and your mana is a glass orb in the bottom-right corner. Your health ticks down on its own and is topped up when it runs low, so you can watch the bar react.
- The Iron Warden (the big figure at the back) has a boss bar across the top of the screen, with its name and phase marks.
- The Training Dummy has an over-head bar, and the Heart Pot (the red cylinder) has heart containers. Both take hits and come back after they break. Their bars hide while the gallery is open, because they would sit under it.
The dummy, the pot and the boss are shared: every player sees the same values on them. Your own HUD always shows your own body.
How to use it
[and](or the ◀ ▶ buttons) flip your own health bar through all 33 looks, live.G(or the Hide / Gallery button) hides or shows the gallery. With it closed, the switcher stays at the bottom of the screen, and the dummy's and pot's bars come back.- Hold
Shiftto sprint and watch the stamina arc drain, then refill. - On a phone, the bars and the gallery move clear of the touch buttons, and the gallery scrolls in two columns.
How it is built
build.luaustates the scene as code: the floor and lights, the player prototype (a humanoid body with SecondWind health and shield, a staminaResourceand an over-headBarthat other players see over you), your three HUD bars, the three targets and theBarsGalleryentity with theShowcasecomponent.scene.jsonholds the baked result.entrypoint.luauruns the demo while you play. It gives your avatar a mana pool, and it lands the hits that move the bars. Each player only damages their own body, and only the owner of a shared target damages it, so every player sees the same numbers.- To use the kit in your own world, install the
barsKitpackage. Its README starts with the two steps this scene follows: give the player health, then put bars up.