Text that fades in and out

By GOBLIN360
(slightly amended by LadylexUK)

Text that fades in

  1. WHEN DO [display][text:YOUR TEXT][screen center][opacity][numvar:opacity][x large font]
  2. WHEN [until][numvar:opacity][equals][1]
  3. …WHEN [countdown timer][0.15][loop][trigger on start] DO [numvar:opacity][increment by][0.1]

Text that fades out

  1. WHEN [once] DO [numvar:opacity][equals][1]
  2. WHEN DO [display][text:YOUR TEXT][screen center][opacity][numvar:opacity][x large font]
  3. WHEN [until][numvar:opacity][equals][0]
  4. …WHEN [countdown timer][0.15][loop][trigger on start] DO [numvar:opacity][decrement by][0.1]

To create text that fades in and out

  1. WHEN [once] DO [numvar:opacity][equals][0]
  2. …WHEN DO [boolvar:fade in][equals true]
  3. WHEN DO [display][text:YOUR TEXT][screen center][opacity][numvar:opacity][x large font]
  4. WHEN [started to][numvar:opacity][equal to][1] DO [boolvar: fade in][equals false]
  5. WHEN [started to][numvar:opacity][equal to][0] DO [boolvar:fade in][equals][true]
  6. WHEN [boolvar:fade in]
  7. …WHEN [countdown timer][0.15][loop][trigger on start] DO [numvar:opacity][increment by][0.1]
  8. …WHEN [else]
  9. …./…WHEN [countdown timer][0.15][loop][trigger on start] DO [numvar:opacity][decrement by][0.1]

You can apply this to icons as well as text. Particularly good for buttons.

Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: