keyboard input help

kipdevkipdev Member Posts: 275
edited June 2014 in Working with GS (Mac)

I figured out how to let customers type in text using attributes, and have a save text rule also. My question is when they leave the app and reopen it, how do i make sure the inputed information is saved, and loads back up when they exit and reoopen the app. Thanks in advance for the help

Comments

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685

    After the input behaviour add a save attribute behaviour. Then on your initial scene, add a load attribute behaviour.

  • kipdevkipdev Member Posts: 275

    So lets say my text attribue is called "exercise" i have a rule stating when touch is pressed open keyboard option. Change text to game.exercise. and then save attribute. (Already working). So Then on the main screen i just put load attribute game.exercise? And that will load whatever text they made? I dont need to assign a key in the save attribute? As long as its saving game.exercise?

  • kipdevkipdev Member Posts: 275

    Side question. Does anyone know how many text characters can be saved per actor?

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685

    When you add a save attribute, it will ask you for a key. Type anything in here. Just put the same key in the load att

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @kipdev said:
    Side question. Does anyone know how many text characters can be saved per actor?

    I assume you mean "per attribute." I don't know but it's easy enough to test. Certainly several sentences worth of text...

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

  • kipdevkipdev Member Posts: 275

    Thank you both very much for the help i appreciate it

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Actually, I do know. I recall that a dictionary demo had something like 10,000 characters per attribute. So I think the limit is quite high!

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

  • kipdevkipdev Member Posts: 275

    Oh thats fantastic! Lol. I expect customers would use around 500 characters so thats plenty of room

Sign In or Register to comment.