How do I Work with external files? Ini, XML, JSON?

0 favourites
  • 3 posts
From the Asset Store
_______ Huge collection of metal fixtures ________
  • I just need examples, I am having trouble finding any. The save and load function is useful, but I need to save specific data tied to tables for Objects and pull data out of this and even write BACK TO IT. I can do this in other languages, maybe not the easiest, but is totally possible using logic like

    write [object.VarStat##] path: $APPDIR$ + "/data/" line: ##

    same thing with loading. And line: ## can be arrayXYZ: #, #, #, #### (X, Y, Z, length/position to start reading/token/etc}

    Now regardless of the real syntax or fake syntax here I just want to know if anyone can point me out examples since I'm having a very hard time and this is pretty important, being able to manage local data to object tables that is.

  • I just need examples, I am having trouble finding any. The save and load function is useful, but I need to save specific data tied to tables for Objects and pull data out of this and even write BACK TO IT. I can do this in other languages, maybe not the easiest, but is totally possible using logic like

    write [object.VarStat##] path: $APPDIR$ + "/data/" line: ##

    same thing with loading. And line: ## can be arrayXYZ: #, #, #, #### (X, Y, Z, length/position to start reading/token/etc}

    Now regardless of the real syntax or fake syntax here I just want to know if anyone can point me out examples since I'm having a very hard time and this is pretty important, being able to manage local data to object tables that is.

    There are numerous examples of using everything from arrays, ajax, json, dictionaries and local storage both in the Tutorial section and throughout the forum.

    For example, the excellent tutorial from Kyatric: Asteroid clone in less than 100 events includes (on page 6) a thorough example of using 'Local Storage' to store information.

    Maybe this will help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes thank you very much, I think this is a good start, if anyone knows of any good examples off hand feel free to post those as well. I'll keep searching but knowing about these examples is a great help to me and my friends.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)