Please take a moment to fill out this survey on your gaming habits!

Tutorials/User Interface

From SC2Mapster Wiki
Jump to: navigation, search

User Interface[edit | edit source]

Description[edit | edit source]

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[edit | edit source]

  • 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[edit | edit source]

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

Part 1: Building the interface[edit | edit source]

Triggers only[edit | edit source]

UI Module[edit | edit source]

Part 2: Detecting user interaction[edit | edit source]

Part 3: Responses to input[edit | edit source]