GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Gamesalad saving attribute not working

In my newest game gamesalad doesn't seem to save the score, only temporary.
When the game is played it's saved and when switching between scenes it works fine, but once I exit the application it doesen't load on start.

To clarify I've got both a load and save actor, the loader loads the score when opening a scene and the save actor saves the score every 1 seconds. Anyone familiar with this issue or know how to fix it ?

Answers

  • anatomyofdreamsanatomyofdreams Posts: 723Member
    Are you testing this in gs preview or gs viewer? Because if so save/load to the best of my knowledge doesn't work there. You'd have to use an ad hoc build.
  • LyboTechLyboTech Posts: 135Member
    The issue is not on GS Viewer, but the released app on the Apple App Store
  • anatomyofdreamsanatomyofdreams Posts: 723Member
    Hmmm that's odd. It seems like you've got it right.
    Are you making sure that the load not only loads but also has your score displayer updated to the loaded value? Meaning, it may be loading properly but your display attribute may not be tied to the loaded score value.
  • LyboTechLyboTech Posts: 135Member
    Might be an error on my behalf earlier, have doublechecked everything, it loads and saves correct attributes. But I am doing it correctly, right ?
    - Just a bit of trouble if I update it and it won't work :)
  • tatiangtatiang Posts: 11,868Member, Sous Chef, PRO, Senior Sous-Chef
    Just to be clear, you have a Load Attribute behavior in an actor on the opening scene of your game? And when you check that attribute (e.g. DisplayText) it's not showing the saved value?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • LyboTechLyboTech Posts: 135Member
    Yes, that's how I've made it :)
    I'll update the App and reply if I encounter it again.
This discussion has been closed.