read triggers from an xml?

Get help using Construct 2

Post » Mon Jul 02, 2012 10:43 am

How can I get my game to read triggers from an xml?

for example, in my xml, i have:

<award type="badge">bronzeBadge</award>
<action>score</action>
<value>3000</value>

So my game should permanently search for when my game score is 3000 so it can award a badge.

How would I implement something like this?
B
11
S
2
Posts: 127
Reputation: 1,532

Post » Mon Jul 02, 2012 11:09 am

i don't know anything about xml but the thing you are doing can be done with global variables , also with array ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Mon Jul 02, 2012 11:10 am

sorry. I need to be able to use xml so user can play from various locations and pc's etc, just by logging in, all gameplay info would be available.
B
11
S
2
Posts: 127
Reputation: 1,532


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 5 guests