Not Saving/Loading o GS 0.9.88 beta even in adHoc publishing
jfoc2009
Member Posts: 12
I do not know if this behavior is a bug or my mistake. You judge!
On first scene I have a Time Behavior with after 2 seconds parameter. Inside the Timer I put some Loading Attributes.
Just after the behavior above I put another Timer with after 4 seconds to change to next scene.
No data loaded (I checked dozen times all keys names and attributes names).
The part where I'm saving I put Save Attribute inside a Rule (touched down and inside) of an actor just below Keyboard Input behavior (Rule contains (Keyboard input followed by Save Attribute)).
Again, Keys names and attributes names checked dozen of times.
On GS Viewer (iPad 1 and iPhone 4S, both with iOS 5.0) I have the same behavior: No saving or loading.
A tried publishing! Published with my Dev profile and drag the App to iTunes. My Both devices now has the GS APP running. All features I put on my App is Working, but not saving or loading.
Hope some one could help!
On first scene I have a Time Behavior with after 2 seconds parameter. Inside the Timer I put some Loading Attributes.
Just after the behavior above I put another Timer with after 4 seconds to change to next scene.
No data loaded (I checked dozen times all keys names and attributes names).
The part where I'm saving I put Save Attribute inside a Rule (touched down and inside) of an actor just below Keyboard Input behavior (Rule contains (Keyboard input followed by Save Attribute)).
Again, Keys names and attributes names checked dozen of times.
On GS Viewer (iPad 1 and iPhone 4S, both with iOS 5.0) I have the same behavior: No saving or loading.
A tried publishing! Published with my Dev profile and drag the App to iTunes. My Both devices now has the GS APP running. All features I put on my App is Working, but not saving or loading.
Hope some one could help!
Comments
Dont put the load attributes in a timer, put them by themselves so they fire the second the games starts. Also make sure all your keys are matching and correct. Also make sure your save attribute behavior is also firing.
Thanks for your reply.
I just tried as you sugest but still not working. I will try to be specific in what I'm doing here:
* First Scene has an actor with this sequence of behaviors:
** Display Text;
** Load Attributes sequence (Keys names checked and attribute object checked);
** Timer to call next scene;
* Scene with user interaction where I want save things:
** Actor do edit user name with the behaviors:
*** Rule with condition touch pressed and touch inside:
**** Keyboard Input (Attribute object checked: Is the same saving and loading)
**** Save attribute with correct Attribute object and Key name used on loading sectio
This time I tested only on GS View on my iPhone 4S.
Result: No loading (or saving).
new question: I suppose when I load an attribute on first scene their value persist for all scenes, right ?
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
"new question: I suppose when I load an attribute on first scene their value persist for all scenes, right ?"
Regarding the video it looks like it should. Could it be that Adhoc has no permission to save?
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Since the player has a certain progress the player could have only the half of the keys saved yet and still it will try to load each.
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left