save and load attributes, How to test before publishing? what did I do wrong?

-Timo--Timo- Member Posts: 2,313
edited November 2013 in Working with GS (Mac)
hey guys,
I just published my game to app store (will give some more information when this problem is fixed ;) )
its a game with levels and stars and I want to save the amount of stars and the level you are now.
so I did when level succeed save attribute game.level to key: level
and the first scene when opening app I have an actor with load attribute key: level to game.level
but for some reason it doesn't work and you have to start with level 1 again.
did I do something wrong or is there a better way to do this? is there a way how to test it before I update?
would really appreciate if someone can help me :)
thanks,
-Timo-

Best Answers

  • Braydon_SFXBraydon_SFX Posts: 9,273
    Accepted Answer
    I'd always recommend an adhoc build before publishing. There are a lot of people that sometimes use the viewer, or even GS Preview before uploading. That's a mistake. The only way you'll know how your game will really play on a device is with an adhoc build.

    It's really easy with Tables, as already mentioned in this thread. There is no load table behavior, do it's just as simple as saving it. I've never had issues with grabbing info and saving it from a Table. But again, make sure you test with adhoc build.
  • KillerPenguinStudiosKillerPenguinStudios Posts: 1,291
    Accepted Answer
    @sadida172 I will try using tables :) is there a way to make sure it works before updating my game?
    As @Braydon_SFX said, test with an AdHoc build. It is very important to test with an AdHoc build as it is pretty much the same thing and will work just like your published version will. Everyone should make it part of their requirement to do a few AdHoc testings before publishing. I don't know why you wouldn't want to really test your stuff to make sure everything is working. This is a Critical step in developing. Make it a priority to do AdHoc testing!

    Just saying as I see way too many people publishing builds that they only used the viewer to test then wonder why their published build either got rejected or things aren't working like they are supposed to and there's a lot of bugs. Sorry for the small rant. I just see this way too often and it kind of shows that if you don't want to take the time to do full, legit testing of your product, you don't care what your putting out there just as long as it gets approved. :D
  • KillerPenguinStudiosKillerPenguinStudios Posts: 1,291
    Accepted Answer
    are you sure tables save automatic? because it doesnt like like it. does someone have a template where you save the level?
    Hey @timolapre1998, You have to tell it to save the table. The table won't save if you don't tell it to. There is a "Save Table" behavior.

Answers

Sign In or Register to comment.