Skip to content

SplashScreens.constructor

Alex Kulcsar edited this page Apr 20, 2023 · 1 revision

SplashScreens.constructor

new SplashScreens(titles: string[], titlesColor?: number,
  headlines?: string[][], headlinesColor?: number,
  instructions: string[][], instructionsColor?: number,
  backColor?: number, delay?: number)

Parameters

  • titles: string[] Array of strings to display as the title.
  • titlesColor?: number Color to use when printing titles. Default is 5 (yellow).
  • headlines?: string[][] Sets of strings to display as headlines.
  • headlinesColor?: number Color to use when printing headlines. Default is 14 (brown).
  • instructions: string[][] Sets of strings (up to three sets) to display in the center of the screen. When multiple sets are used, the sets are printed in columns.
  • instructionsColor?: number Color to use when printing the mid-text. Default is 9 (light blue).
  • backColor?: number Color to use for the background. Default is 15 (black)
  • delay?: number Interval in milliseconds when screens will rotate. Default is 5000 milliseconds (or 5 seconds).
Clone this wiki locally