Turnbased battle system?

Get help using Construct 2

Post » Fri Mar 02, 2012 11:27 pm

Was just wondering if someone could share some tips on how to make a turnbased battle system or perhaps share a simple capx. Gonna start working on it tomorrow but any help would surely speed things up :)

thx
B
28
S
10
G
6
Posts: 251
Reputation: 6,655

Post » Fri Mar 02, 2012 11:49 pm

In a turned base, you have to isolate phases.
You could isolate these phases into different groups to switch on and off.
Or use a variable "phase" like that:
[code]Global number phase = 0
+System: phase = 0
[insert the first phase code]
+on phase validated
    -> System: set phase to 1
+System: phase = 1
[insert the second phase code]
+on phase validated
    -> System: set phase to 2
+System: phase = 2
[insert the third phase code]
+on phase validated
    -> System: set phase to 0[/code]
Yann2012-03-02 23:49:51
B
64
S
22
G
14
Posts: 1,482
Reputation: 16,457


Return to How do I....?

Who is online

Users browsing this forum: ashishv, krombanna, LightningFury and 2 guests