TEXT keyword

Displays text on screen.

Syntax

TEXT string, (posX, posY), "fontname", fontsize, "effect", effectvalue

Parameters

  • string: a string expression to display (required)
  • posX: integer of horizontal position
  • posY: integer of vertical position
  • fontname: font to use
  • fontsize: font size as integer
  • effect: possible effect from this list: "type" (typewriter effect), "fade-in" (slowly appears)
  • effectvalue: integer value to customize the effect

Example

TEXT "This is my text"
TEXT "This is my text", (200, 100)
TEXT "This is my text", (200, 100), "default"
TEXT "This is my text", (200, 100), "default", 50
TEXT "This is my text", (200, 100), "default", 50, "type"
TEXT "This is my text", (200, 100), "default", 50, "type", 70
TEXT "This is my text", (200, 100), "default", 50, "fade-in"
TEXT "This is my text", (200, 100), "default", 50, "fade-in", 2000

Go back to list of Keywords.