Lantern Peak: A Storybook Mountain Platformer
- ..
- README.md7.6 KB
- art-direction.md2.7 KB
- campaign-finale-after.jpg79.3 KB
- campaign-map-after.jpg300 KB
- campaign-map-before-lead.jpg117 KB
- campaign-map-before.jpg300 KB
- campaign-results-after.jpg154 KB
- campaign-title-after.jpg202 KB
- campaign-title-before.jpg209 KB
- course-kit-before-levels.jpg248 KB
- course-kit-before.jpg257 KB
- course-kit-counts-before.json7.8 KB
- coursekit-gorge-after.jpg79.5 KB
- coursekit-gorge-before.jpg83.3 KB
- coursekit-lake-after.jpg67.5 KB
- coursekit-lake-before.jpg87.2 KB
- coursekit-meadows-after.jpg98.4 KB
- coursekit-meadows-before.jpg145 KB
- coursekit-ridge-after.jpg85.5 KB
- coursekit-ridge-before.jpg107 KB
- coursekit-summit-after.jpg62.8 KB
- coursekit-summit-before.jpg59.7 KB
- lighting-after-gorge.png271 KB
- lighting-after-lake.png251 KB
- lighting-after-meadows.png284 KB
- lighting-after-ridge.png268 KB
- lighting-before-one-mood.jpg190 KB
- look-lake-after.jpg84.8 KB
- look-summit-after.jpg67.0 KB
- meadows-no-backdrop.jpg205 KB
- moodkit-gorge-after.jpg142 KB
- moodkit-gorge-before.jpg141 KB
- moodkit-lake-after.jpg180 KB
- moodkit-lake-before.jpg177 KB
- moodkit-meadows-after.jpg245 KB
- moodkit-meadows-before.jpg213 KB
- moodkit-ridge-after.jpg66.6 KB
- moodkit-ridge-before.jpg62.5 KB
- moodkit-summit-after.jpg51.5 KB
- moodkit-summit-before.jpg55.9 KB
- moods_sheet.texture
- summit-mood-v1.jpg96.0 KB
- summit-mood-v2.jpg53.7 KB
README.md
Lantern Peak — polish pass, before and after
Every row is something seen or measured before the change and after it, on this machine: the desktop editor on an integrated GPU, at 2097×1409. Pictures are in this folder or the listed path.
| Area | Before | After | Evidence |
|---|---|---|---|
| Lighting per level | Every level showed the same purple menu twilight while the keeper talked and at the start | Each level has its own time of day on your machine: rosy dawn meadows, midday gorge, golden afternoon lake, violet dusk ridge with snow, starry night summit. The mood now follows the level you picked from the moment the keeper starts talking | lighting-before-one-mood.jpg → lighting-after-meadows.png, -gorge.png, -lake.png, -ridge.png |
| Summit horizon | From the summit the far ranges rose as a bright summer-green horizon at eye level | The far ranges are off, so the lantern stands on a snowy spire above a sea of haze. That is also one terrain fewer to draw | summit-mood-v1.jpg → summit-mood-v2.jpg |
| Controls | Several installed controlsKit copies kept switching each other's platformer scheme off, so the apprentice walked at the engine's 2.5 m/s and the kit-sized gaps couldn't be cleared | The scheme stays on; the controller reads 6.0 m/s at full stick (measured velocityZ = 6.0) | fix sent upstream (controlsKit PR #1, Summit Sprint PR #1) |
| First minutes | The game dropped a new player straight into level 1 on join | The title screen comes first, then the trail map, then the keeper's send-off and the 3-2-1-GO (platformer3dKit autoStart = false) | played in the editor: title → map → send-off → intro → countdown → run |
| Juice: jump, landing, checkpoint, death | Silent: no kit played them | Each has its own sound (audio/sfx_*), plus the kit's dust puff, landing kick, checkpoint flag, confetti and slow-motion finish | shell/audio |
| Juice: hazards | All 8 hazards were silent | 14 spatial sounds: snowball roll and burst, icicle crack and shatter, wind gust, vent rumble and burst, avalanche, rockfall, thin-ice crack and break, frost spikes | frostHazards 1.1.0 sounds/ |
| Models | Box-built stand-ins for the great lantern and the 13 finish lantern posts | A generated stone-and-brass lantern tower (~11 m) and a carved post with a brass lantern | look/captures/polish-greatLantern*.jpg, polish-lanternPost-meadows.jpg |
| Surfaces | Snow deck tops rendered tan-brown under dusk and night light; the lake floes read as stone | Snow-white decks with lavender shade; teal ice floes with snow on top; storybook steam vents | look/captures/ (polish-surfaces) |
| Story flow | Pressing Next on the summit's results card before the keeper finished skipped the whole ending and looped to level 1; after the ending the apprentice stood back at the trailhead | Next on the summit's card goes to the finale, and the apprentice stands by the great lantern while it is lit | played: results:summit → finale:summit |
| Performance: coins | 177 coins each ran their update every frame: 9–20 ms a frame | Coins more than 60 m from every local player update one frame in ten: 1.4 ms | profiler scripts; fix sent upstream (pickupsKit) |
| Performance: shadows | The shadow raster was 160 ms of a 225 ms GPU frame; 322 shadow pages and 2.88 M triangles drawn each pass | Distant shadow detail one step coarser, with small and far casters cut off: 26 pages and 0.83 M triangles | renderer.shadowPageStats() |
| Performance: platforms | After a scene rebuild, every moving platform logged hundreds of errors a second writing to its deleted parts | Platforms rebuild their look when it was removed, and the error stream stopped | fix sent upstream (platformsKit 1.6.2) |
Still slow on this machine
On the integrated GPU in the editor, frames still run 60–300 ms: the forested mountain at full window size, plus the editor itself. alpineKit's own README measures its showcase mountain at about 70 ms a frame on the same class of GPU. The game's own scripts now come to about 15–40 ms a frame, most of it the kits' per-frame work. A dedicated GPU, or a smaller window, is what a smooth frame rate needs here. The web build also carries #20750 and #22751.
Polish pass 2 (2026-11-08 afternoon)
| Area | Before | After | Evidence |
|---|---|---|---|
| Controls | platformer3dKit's feel option promised coyote time, a jump buffer and air control, but applied nothing (engine defaults 0.1 s / 0.1 s / 0.3) | 0.15 s coyote time, 0.15 s jump buffer, 0.6 air control on every player | read back from the controller in play; platformer3dKit 1.3.4 |
| Camera | The follow camera's sweep stopped on every trigger (232 kill zones, coins, flags, finishes) and snapped in toward the apprentice whenever one sat between them; no look-ahead | Triggers are see-through; the view leads the run by up to 1.8 m so the next platform is in frame before the jump | camera follow = lead point, cameraIgnore 232 in play; 1.3.4 |
| Camera hitch | The see-through list was rebuilt by scanning every entity every 5 s: up to 1,029 ms frames | Rebuilt from the component index in ~0.2 ms | profiler scripts max; 1.3.5 |
| Juice | Jumps, checkpoints and deaths had sounds only | Take-off dust on every jump, a sparkle burst at each flag, a smoke puff and a light shake on a fall (landing dust, confetti and slow-motion finish were already there) | juiceKit effect count +2 per jump in play |
| First level | First pit 1.7 m (a running jump reaches ~2.1 m: 0.4 m margin); four stepping stones zig-zagging up to 1.6 m sideways | Pit 1.2 m, stones nearly in a line (0.6 m wiggle), same 1 m hops | measured in play: gap 1.2000 m; levels/meadows |
| Touch controls | A diamond of four buttons (jump, dash, interact, crouch), two of which do nothing in this game | One big jump button; dash and crouch removed from the scheme | GameDirector scheme override |
| Mood arc | Lake: plain afternoon; summit: starry night | Lake: golden hour; summit: aurora night, so the day climbs dawn → midday → golden → snowy dusk → aurora | moodkit-lake-after.jpg → look-lake-after.jpg, moodkit-summit-after.jpg → look-summit-after.jpg; art-direction.md |
| Menus | After play → edit → play the title never came back (campaign resumed a stale state); title "Play" with a save skipped the map; lives hearts showed with unlimited lives | Every session opens on the title; Climb! opens the map; no lives HUD | campaignKit 1.0.1, campaign-title-after.jpg, campaign-map-after.jpg |
| Par times | Guessed: 75 / 110 / 120 / 140 / 160 s | From measured speed (4 m/s), jump (2.1 m) and each route's length and climb: 55 / 75 / 55 / 90 / 130 s (Meadows 136 m, Gorge 128 m + 34 m climb, Lake 99 m, Ridge 145 m + 46 m, Summit 150 m + 128 m) | LanternPeak.game |
| Clock kit | An update mixed two versions of worldClockKit; WorldClock failed on start (no time of day, no moods) | Consistent 1.6.2 files; WorldClock wakes at 6.6 h on Meadows | modules.diverged() empty, WorldClock enabled |
Frame time and memory on this machine
The engine here is a debug build on an integrated GPU, running the editor plus the game: 175–215 ms frames in a level (Luau scripts ~10 ms, render ~30 ms, the rest engine and editor), 200–750 ms on the title (menusKit's MenusHost ~70 ms). Memory: 6.5 GB process (editor + game), 3.8 GB graphics, 610 MB Luau heap. These numbers are for comparing before/after only; a release build in a browser tab runs the game without the editor.