Available on: atari atarixl pc128op mo5 to8
See also: FADE IN

FADE OUT

The FADE OUT command is a fundamental tool for creating smooth visual transitions, allowing you to gradually modulate the disappearance of elements. The FADE OUT command, in its simplest form, starts a fade-out process, which will gradually decrease in opacity until it becomes completely invisible. The duration of this transition, in the absence of further specifications, is determined by default. However, it is possible to exert more precise control over the duration of the fade-out through the syntax FADE OUT PERIOD time, where the keyword PERIOD introduces the time specification time. The latter defines the time interval within which the element will pass from its full visibility to absolute invisibility.

SYNTAX

 FADE OUT[PERIOD time]


Legend
  • id : identifier
  • type : datatype
  • v : value
  • "..." : string
  • [...] : optional

EXAMPLE

 FADE OUT
 FADE OUT PERIOD 10


ABBREVIATION: FAdOu

Join BASIC 10Liner Contest with ugBASIC!

An interesting competition is held at the beginning of each year: the BASIC 10Liner Contest. It is possible to use ugBASIC to participate in the next "BASIC10Liner" competition, in the following categories:

  • PUR-120 - A game in 10 lines of max 120 characters (w/abbrev.)
  • EXTREME-256 - A game in 10 lines of max 256 characters (w/abbrev.)
  • SCHAU - Any program in 10 lines of max 256 characters (w/abbrev.)
In order to reduce space you can use this abbreviation for this instruction:

FADE OUT ↔ FAdOu

Any problem?

If you have found a problem with this keyword, if you think there is a bug or, more simply, you would like it to be improved, open an issue for this example on GitHub.
Thank you!

open an issue BACK TO KEYWORDS