How I change the properties in my online html page

Just started using Construct 2? Post your questions here

Post » Sat May 02, 2015 12:00 pm

Hello guys,

I'm a student of TI from Portugal and I'm trying to create a game for a project but the game is to be changeable requirements .

Im thinking in set this properties before start the game . Any ideas how i can do it?

I'm thinking in take the variable from the code and create a set method.

Thanks

Edit:

I have found the file that cointain the properties to be changed before the game starts. They are in the data.js folder. So all i have to do now is create a set procedure that access this information right?

Sorry i'm very novice.
B
2
Posts: 1
Reputation: 152

Post » Sun May 03, 2015 9:55 am

You can read parameters from xml file. it is very easy thing to do.

Take a look: https://www.scirra.com/tutorials/354/xml-parsing
And: https://www.scirra.com/tutorials/810/xml-example-20
B
7
S
2
Posts: 68
Reputation: 645


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests