Skip to content

Export and import scripts / Hm05Script / ParabolaInfo

Interface: ParabolaInfo ​

A parabola type's physics: x(t) = x + vx·t, y(t) = y + vy·t + g·t(t−1)/2 per whole frame (game physics: move, then vy += g), or y + vy·t + g·t²/2 when continuous.

Properties ​

PropertyTypeDescription
attachobject[]the curve is also drawn for every marker of these types, its velocity read from two of their fields
continuousboolean-
framesnumberframes drawn; 0 = until it is back at the start height
gravitynumber-

HereSplash — 2D animation for the web