Appearance
hm5-types (source format) / ParabolaSettings
Interface: ParabolaSettings
The physics of a parabola type: x(t) = x + vx·t, y(t) = y + vy·t + g·t(t−1)/2 with whole frames (game physics: position, then velocity += g), or y + vy·t + g·t²/2 when continuous.
Properties
| Property | Type | Description |
|---|---|---|
attach? | ParabolaAttach[] | - |
continuous? | boolean | - |
frames? | number | frames drawn; absent / 0 = until it is back at the start height (or 30 frames when it never rises) |
gravity? | number | added to vy every frame (+ = down); absent = 1 |