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

    displaySpeech()

  • Examples

    Character: guard{
    name: "Guard"
    image: "img_guard"
    }

    Room: castleGate
    {

    Event: Enter_Room_First {
    // The first time player enters the castleGate room
    // The guard calls to the player, displaying some text and the guard image as portrait

    displaySpeech("Who goes there!", guard)
    }
    }
  • Description

    An altered version of display() which displays the text scrolling, letter for letter, simulating that it is being spoken.

    Background can be either an image or an object, and will be displayed as background while the text is being displayed.

    Person can be either an image or an object. If an image is parsed it will be showed as a portrait for the person in the text box next to the text. If an object is parsed it will display the name of the object before the scrolling text in addition to using the image of that object as the portrait. Name can be used to parse another name than the name of an object.
  • Syntax

    • displaySpeech(text)
    • displaySpeech(text, background)
    • displaySpeech(text, background, person)
    • displaySpeech(text, background, person, name)
  • Related

    • <Image>

    • display()

    • displayImage()

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

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