RCoden's Forum Posts

  • 1 posts
  • hello,

    I'm trying just to establish a basic system of saving a few variables. It's just some numbers, really. Originally the plan was an Array file, parses to an object, gets edited and then written back to the file. Apparently, however, Construct 3 lacks the ability to write to any files...

    So I did some more research and tried out LocalStorage, but I'm still not fully understanding how it works, and cant for the life of me reproduce any variable to save after the game closes, i've spent a lot of hours on this and cant get anything to work.

    Ideally, all I need is a few variables. Its a linear game, some choices matter. One variable tracks the last room the player was in, a few others act as flags for what choices the player made. Then when you load your game, the game reads where you are, remembers what choices you made and the game later changes small things dependent on this. I was sincerely hoping this would not be a big huge thing but...I'm losing my mind. Does anyone have any resources, examples, or anything that could help me out?

    To clarify, i mainly use the construct 3 desktop app, but also tested my little example on Chrome and Firefox, and nothing worked.

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • 1 posts