Best way to save info inside the app.

ajladueajladue Member, PRO Posts: 24
edited November -1 in Working with GS (Mac)
I have created an app that allows parents to keep track of their kids basketball stats on their phones. At the moment if you want to start a new game, the only way to save the info for the previous games is by saving the image (by pressing the home and power button at the same time) and then accessing it in the photos applications. I would like a way to save the info inside of the app, but the way i have it right now is saving the info into different variables and into a grid, but this is very time consuming ( it will only save 3 games right now and this has taken many hours to create one game). I was hoping there would be a way to save a photo in the app and name it or something similar to that. The app is called "basketball stat keeper" if u would like to see it or go to http://basketballstatkeeper.weebly.com/ .

Thanks!

Comments

  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Yes I'm also stuck ion this,
    Is there anyway you can save documents or leader boards within an gs app??
  • MantoManto Member Posts: 796
    I think it's easy to save them with save attribute. Just save them with different names.
  • bluebyu25bluebyu25 Member Posts: 500
    I feel your pain 10 fold. I am making a christ app with 25 contacts, 25 items for each, plus a name and sex = over 1,000 variables I will have to save/load. Without arrays/being able to dimension variables at runtime, what we are trying to do is very time consuming.
  • MantoManto Member Posts: 796
    I use numbers as the save attribute names. It works well.
  • bluebyu25bluebyu25 Member Posts: 500
    User5267 said:
    I use numbers as the save attribute names. It works well.

    Me too. For instance, I have an option for male, female, or undecided (just for a fun option) and I represent them as 1=male, 2=female, 3=undecided and 0=not chosen yet. It saves a lot of time.
  • MantoManto Member Posts: 796
    I didn't really mean that... I meant that when you save the attributes it's good to use only numbers as keys.
  • bluebyu25bluebyu25 Member Posts: 500
    Oh lol....well that is a good practice too :-)
  • MantoManto Member Posts: 796
    I could make you a example project. What kind of project do you need?
  • ajladueajladue Member, PRO Posts: 24
    is there a way to save a photo inside of the app?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    ajladue said:
    is there a way to save a photo inside of the app?

    Not yet. The only thing you can do now is to take a screenshot, and it saves into your photo directory, but that's an iOS function, and not a GameSalad one.
  • ajladueajladue Member, PRO Posts: 24
    what would be the easiest way to take the information that the person has entered and store it in a different place. I am trying to avoid making 10-15 variables for the ability to save one game because this is very time consuming and i cant save the pictures inside of the app.
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Use save and load attribute behaviors. Create an attribute for every thing you want saved, and save it at whatever appropriate times you need them saved at. It's a little time consuming, but no where near as time consuming as doing this in another program other than GameSalad.
Sign In or Register to comment.