How do I modify instance variables out of the game?

0 favourites
  • 3 posts
From the Asset Store
Easily store, modify, read and manipulate colors with Color Variables!
  • Hello,

    I'm looking for help about instance variables, how to these work at low level?

    My problem is that I save the Json format of some objects saved in a server and often I need to change values server-side.

    I noticed that when I save the Object.AsJSON its variables change name in a (I suppose) totally randomic long number.

    I need to understand how to modify values of those variables from my server but I can't if variables' names are unreliable, how does the value get calculated and how often?

  • Its meant to be a save state, it's not designed to work with external modification.

    One of the third party plugs for json would be better, as a separate file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Its meant to be a save state, it's not designed to work with external modification.

    One of the third party plugs for json would be better, as a separate file.

    Maybe I got a solution but don't know if it will work, if I make a behavior with properties equal to the variables I need, when I save the state of the object as Json, will these proprties change their names as instance variables do?

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