AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Name

    display()

  • Examples

    Player:
    {
    image: "img_player"
    desc: "This is the player"

    Event: "Examine" {
    display(this)
    // Displays player image together with player description

    display(getDesc())
    // Displays only player description

    display("Some other text",this)
    // Displays the text parsed instead of player description, but still displays player image

    display("Some text alone")
    // Displays the parsed text without an image
    }
    }
  • Description

    Displays text and images over the interface. Parsing text will open a textbox which will display the text or sequence of text before closing. Parsing an image will display the image on top of the interface. If text and image are parsed together the image will be displayed as background while the text is being displayed.

    Using several display() contra parsing a sequence will have the textbox open and close between text entries.

    display() can take HTML code in order to manipulate the size and colour etc. of the parsed text.
  • Syntax

    • display(text)
    • display(text, image)
    • display(text, image, asBackground)
  • Related

    • <Image>

    • endGame()

    • displayImage()

    • displaySpeech()

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen