init.luau
Versions
Every version of this package its world published, newest first by when it first appeared. A version published again later keeps its place.
lava: the tide bursts where it stands The sound library owns the lava's rumble bed; what belongs to this slice is the surface itself. A bubble goes off at a point on the tide around the spire, placed in the world so the listener on the camera rig hears where it was, and more often the closer the tide has climbed to the pilgrim. Guarded on asset.exists so the slice still runs with the sound library absent. --- rules: the round — phases, helm and heat, the rim and the tide, and the one live control scheme The phase machine (title -> opening -> play <-> paused -> won/lost) driven by requestStart / requestRestart / requestResume / requestPause and by openingDone / finaleDone, with a staged moment given first refusal on the opening and on the end, capped and skippable, so a round still finishes with the staging slice absent or stuck. Helm and heat: one toggle, heat rising at 14/s bare-headed and twice that within 2.5 u of the lava, falling at 22/s helmed, +18 an ember. Height and canto tracked off the local avatar. The rim wins, the tide and an overload lose. The lava rises on the round's own clock when nothing else is writing it. Controls: game.input.lavic gains sprint (Scramble), which the humanoid's CharacterController reads by name, and moves to its own group standing the engine's default map down -- the player prototype holds that map live whether or not anything reads it, so without this a phone drew this game's four buttons beside a built-in Crouch, Interact, Zoom and Pointer Lock. The new game.rules.hold map takes the controls back for every phase that is not the player's and carries the Continue and the Again that work with no cards at all. game.rules.framing solves the follow camera from the live screen: the vertical field of view backwards from a target horizontal one, the distance from the aspect, and the aim point raised by a share of the visible height so the pilgrim sits 40% up the frame on a 3:4 phone, a laptop and a television alike. Verified in play: start reaches play; W walks 5.76 u in 1.2 s; Space rises 1.41 u; Q toggles the helm with heat measured at 14.2/s off and 22/s on; standing at the rim wins; the tide over the head loses; R restarts; and inputSim proves every control fires from keyboard+mouse, from a pad and from touch, with the touch overlay drawing exactly Helm, Free, Jump and Pause over the move stick and the look zone.
01M1TK2V8QTVEDZH2FHZ6MQDR2b9133ebfafBrowse filesCompare from here