UI Components: Part 2, Dynamic Buttons (part 2)
The objective of these tutorials are to introduce the Civ 5 User Interface (UI) elements and controls needed to construct dialogs for presenting information to the user and receiving their decisions.
The objective of this tutorial is to illustrate how to create Civ 5 User Interface (UI) elements (specifically buttons) from Lua code.
All the code in this tutorial can be downloaded from my mods web-site as "Test - UI Tutorial - 2 Dynamic Buttons" and "Test - UI Tutorial - 2b Stacked Stacks"
Note: The attached PDF's are slightly out-of-date, up-to-date ones are included in the mod linked above.
Previous download count: 106
The objective of these tutorials are to introduce the Civ 5 User Interface (UI) elements and controls needed to construct dialogs for presenting information to the user and receiving their decisions.
The objective of this tutorial is to illustrate how to create Civ 5 User Interface (UI) elements (specifically buttons) from Lua code.
- Button 1 - Review of Tutorial 1, Dialog 5b
- Button 1b - Button Instances
- Button 1c - Adding Another Language
- Button 2 - City States List
- Button 2b - Met City States List
- Button 2c - Sorting Lists
All the code in this tutorial can be downloaded from my mods web-site as "Test - UI Tutorial - 2 Dynamic Buttons" and "Test - UI Tutorial - 2b Stacked Stacks"
Note: The attached PDF's are slightly out-of-date, up-to-date ones are included in the mod linked above.
Previous download count: 106