Renderer · const

TRAMPLE_SLOTS

How many presses are remembered at once.

Explained in Hello world.

const TRAMPLE_SLOTS = 8
import { TRAMPLE_SLOTS } from '@driftengine/core';

In depth

Eight, and the number is a shader loop as much as a memory budget — every plant vertex walks all of them. It is enough for a couple of seconds of trail at running pace, which is what "it comes back up behind you" needs; a longer memory would be a longer loop in the hottest shader in the game for footprints nobody is looking at any more.