Storing simple values in a .txt

Get help using Construct 2

Post » Tue Apr 30, 2013 11:49 pm

Hey! I need to gather some data on player behaviour for a game that will be on a public stand, and i cant seem to wrap my head around arrays, dictionary and all these related (?) objects.

Basically i have 3 buttons on a screen. I'm keeping track of which of these buttons the players will click the most, and this data must be saved in a txt, xml or json file - as long as i can gather the data later.

The project will be exported for offline use (Node-Webkit). The optimal would be having something that adds these values to an offline file in real-time, but a simple triggered action to save a file with the values would also be ok.

Example of desired output:

Button 1      Button 2       Button 3
1             1              1
1             1              etc
etc           1

Any help would be greatly appreciated!
Posts: 189
Reputation: 8,595

Return to How do I....?

Who is online

Users browsing this forum: emoaeden, flemmig, henryScirra, sTARKi, sudeep98, Yura G and 21 guests