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

    GUI

  • Name

    scale()

  • Examples

    Object: obj {
    image: "img_obj"

    Event: Game_Start {
    GUI.scale(this,0.5)
    // Halves the width and height of the image
    }
    }
  • Description

    Scales the width and height of the image of a given Object as overlay on the graphical user interface. The original image size is multiplied by the value given by val.

    Use this function when you want the overlay to be smaller than the image is elsewhere, or you want the image to have a higher resolution than its displayed size.
  • Syntax

    • GUI.scale(obj,val)
  • Related

    • scaleHeight()

    • scaleWidth()

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

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