save load tutorial download project etc.

scitunesscitunes Member, Sous Chef Posts: 4,047
edited November -1 in Working with GS (Mac)
I created a test dev app. It has one actor that you tap and a game attribbute game.score is changed to game.score + 1 when touched. So you tap it and the number goes up.

A second actor displays game.highscore. I've got a rule that says when score is greater than highscore change highscore to score. The underneath that I put the save behavior with game.highscore keyword highscore. Then outside that whole rule I put the load. I made sure everything was spelled correctly and correct case and everything. Here's the weird thing. In gsviewer7 it works. I tap the first actor and both actors count up by one. Then I restart gsviewer open the app under recent and the number I tapped to is displayed on the high score actor and the score actor is reset to zero - exactly like it should. Then I publish a dev build of it and both reset to zero when you restart it! WTF!

Can someone show me how to do this (it's been a rough day dev wise!)

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    hmmm. that's weird. that sounds correct to me. especially since it works fine in the viewer
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Not adhoc. Not web. Development. Should I make an adhoc? I thought the whole idea of development is that you use it test out your apps. Does load and save work for anyone else in a development build?
  • firemaplegamesfiremaplegames Member Posts: 3,211
    yes, it works fine for me.

    and what you describe above should be correct.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Adhoc just worked! Weird. What's the deal with development profiles? I guess I won't use those anymore.

    Bug?
Sign In or Register to comment.