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
21
S
7
G
4
Posts: 221
Reputation: 5,070

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
60
S
22
G
14
Posts: 1,479
Reputation: 16,346


Return to How do I....?

Who is online

Users browsing this forum: WhosWho and 16 guests