Log inGet started
World

Procgen Effects Showcase

Branchmain
Branchesmain
Commit99ff90d12c

README.md

launch

A heavy-lift rocket's liftoff on one 36 s loop that drives the vehicle, the exhaust, the ground clouds, the sparks, the heat haze and the light together:

Graph time (mod 36)What happens
0 to 3 sQuiet: the vehicle stands on the mount
3 to 8 sCountdown: deluge steam bleeds from the trench mouths
10 sIgnition: a flash, and the engines spool up to full thrust
12 sThe hold-downs release and the vehicle climbs on a pillar of fire
31.5 sEngine cutoff, with the vehicle 1.3 km up, then the loop starts over
-- `graph` is this graph's reference: the AssetRef `asset.resolve` or a search returns for it.
local e = entity.spawn("launch", { position = { 0, 0, 0 } })
e.component.add("Generator", { graph = graph, playOn = "load", ending = "loop" })

Its outputs are the vehicle in three materials (hullWhite its white body, hullFoam its orange foam-covered core, hullDark its dark bands and engines), the exhaust flame (flameCards), smoke and steam clouds (smokeCards, steamCards), spray off the deluge (splashCards), sparks (sparkStreaks), heat haze (hazeCards) and two lights (lightFloor, lightPlume). The timeline has no end and plays at 60 fps. In the Procgen Effects Showcase world, the fx_launch scene frames it with the LaunchView component.