Make an interface for a Sim game

Get help using Construct 2

Post » Tue Oct 08, 2013 10:12 am

Okay, I'd like to know how to:
-Make a tabbed user interface
-dragging and dropping objects from the interface into a grid on the map
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Tue Oct 08, 2013 11:14 pm

The tabbed part is easy to explain but can be complex to execute.

Method 1 (sloppy)

Render a set of layers for each tab. Make them visible and invisible when user clicks "tab" button.

Method 2

Make so you have a function to draw, and a function destroy each "tab" buttons elements.

User clicks on a tab, it destroys all layers, then draws the chosen layer.

Method 2 is harder because you have to map where everything is before you destroy the tabs elements.

Check out the Families function in Construct 2... You could have a family for each tab.

You can also use containers to help out.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo and 13 guests