The rise at progress t, in pixels. Negative: pop-ups travel up the screen.
t
import { floatingTextRise } from '@datamoc/mw_games/two-d/ui';console.log(floatingTextRise(0.5, 24)); // -12 Copy
import { floatingTextRise } from '@datamoc/mw_games/two-d/ui';console.log(floatingTextRise(0.5, 24)); // -12
The rise at progress
t, in pixels. Negative: pop-ups travel up the screen.