Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

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