itstcone's Recent Forum Activity

  • Thank you so much! This appears to be working as I need!

  • Not sure I understand.

    Once the object is updated with the values returned from ajax, which is a JSON string, there's an easy way to extract the pieces to use before I store it?

    Example ajax response: {"score":"5","high_score":"315","game_token":"xyzabc"}

    How would I be able to extract each piece of that before storing it?

    I am not even able to find a good tutorial on how to extract after storing to a json either...which would probably help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have found a couple topics, but it's so damn confusing.

    Here is what i am trying to do.

    I am calling my rails server with an ajax request to save scores in a game, and returns an ajax response which i would like to update either a dom element or just some webstorage with responses.

    I am able to store the json string response in a webstorage currently..but to extract individual json data values from that is where I lose it. Is there a good tutorial on this? I have been digging for a few days, and am so confused.

    Thanks!

itstcone's avatar

itstcone

Member since 13 Sep, 2015

None one is following itstcone yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies