Saving and loading an attribute but its not working

Good Day,

I have completed and published my first game in Gamesalad recently, and as i work through the testing i came across a need to add a tutorial for players. I added a couple scenes explaining how to play and the buttons one would see. I used an attribute tutorialseen to trigger the tutorial and at end of tutorial use a button to change and save the attribute. However on relaunch the game goes back to the tutorial everytime even though i have checked that the attribute changes to true when the tutorial has played. Here's how i setup the logic: on mainscreen if tutorialseen is false it goes to the first scene of the tutorial, on last page the next button changes attribute to true and saves it then carries you back to the main scene to allow you to play. The next time you load the game i look to see what the saved attribute is and decides whether the tutorial should play or not yet it does every time.

Comments

  • epicmanepicman Games Developer Crewe, United KingdomMember, PRO Posts: 21
    edited January 2016

    HI there :)!

    Ive noticed this bug myself, which is a bug in the latest creator, for me this happens when an animation wasn't working (which relies on loading a save every time the scene is reloaded), but it isnt working now :(, in the same way you are describing it.

    Best advice i can give is to let the GS team know (message one of them with the blue message symbol at the bottom right of the browser) and wait for a response.

    Normally what i do every update is replicate the save file, and edit the replica file and see if the app is still functional.

    For now, the best i can suggest is either getting a previous version (if you uploaded your project to the site) and get an older version of GS, or just wait for the patch unfortunately :(.

    Anyway, hope this helps!

  • vinceclennonvinceclennon Member, PRO Posts: 5

    Ok with a little work i was able to figure this issue out. Thanks

  • vinceclennonvinceclennon Member, PRO Posts: 5

    spoke too soon as it works in gamesalad but not when the app is published.

  • vinceclennonvinceclennon Member, PRO Posts: 5

    Yep its confirmed for anyone else that gamesalad is having trouble saving an attribute that is a boolean. Be aware until it has been resolved.

  • BlackCloakGSBlackCloakGS Member, PRO Posts: 2,250
    edited January 2016

    we have a fix for (saving boolens) coming in the next build today.

Sign In or Register to comment.