0 Favourites

Storing simple values in a .txt

  • 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

                  etc

    Any help would be greatly appreciated!

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)