mwg API
    Preparing search index...

    Function floatingTextRise

    • The rise at progress t, in pixels. Negative: pop-ups travel up the screen.

      Parameters

      • t: number
      • rise: number
      • reduce: boolean = false

      Returns number

      import { floatingTextRise } from '@datamoc/mw_games/two-d/ui';
      console.log(floatingTextRise(0.5, 24)); // -12