Source Academy Modules
    Preparing search index...

    Function create_text

    • Create a text object.

      0, 0 is located at the top, left hand side.

      Parameters

      • x: number

        x position of the text

      • y: number

        y position of the text

      • text: string

        text to be shown

      • config: ObjectConfig = {}

        text configuration to be used

      Returns GameObject

      text game object