Tutorials/User Interface

From SC2Mapster Wiki
Jump to: navigation, search

User Interface

Description

Working with the interface in StarCraft II is a three part problem: (1) putting together the buttons, (2) adding code that can detect user interaction and (3) the code that does something with the input.

Hints

  • It is recommended that you go through a tutorial in basic Triggers before working with this.
  • Interfaces can be built with or without editing XML.

Vocabulary

  • Anchor
  • Dialog
  • Dialog item
    • Image
    • Label
    • Button
    • Slider
    • Checkbox
    • Radio button
  • Frame
  • .dds
  • Interface file
  • XML

Part 1: Building the interface

Triggers only

UI Module

Part 2: Detecting user interaction

Part 3: Responses to input