Data storage and retrieval in GS ???

mayakovskimayakovski Member Posts: 15
edited November -1 in Working with GS (Mac)
Hello all;

I'm new to GS and have a question. I'm working on a project that requires a lot of data to be stored and accessed via touch.

So on Screen A you have an image, on the image are scattered a bunch of buttons, touch one button and you go to Screen B to view the data. Screen B does not change except for the data itself.

On a website I would use the database functions built into HTML 5 or something like MySQL to handle the data storage. How do I do something similar in GS?

I don't really want to make approx 300 scenes with the data hard coded onto each.

What's the best way to do this in GS?

Thanks
Maya

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    You have no access to outside data with GameSalad.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Unfortunately if you want your app to have info it all has to loaded in the app. which can be a selling pint cause you can say no net connection needed for the info. but on the other hand change in data requires and update.
  • mayakovskimayakovski Member Posts: 15
    OK;

    I have no issue with the data all being in the app, in fact that's what I want. But, I would have expected that there would be some way to store the data in GS and call up certain bits of it when needed.

    Even real basic like touch button, and a rule calls a new scene and loads the info into it, like from a text file or something.
    Is it possible to use the Notes behavior and have the info in the note called and displayed on the screen?

    Just so I don't have to create hundreds of identical scenes just to display different text.

    Maya
  • AjBlueAjBlue Member Posts: 215
    notes is just for people to put in little notes for the developer to be able to digest how the behaviors are set up and works, if you want to have text you could either use images, or have a text behavior and for a boolean attribute make it say if boolean = true, display text. this way you could call upon the data through touches or behaviors. if you have multiple changing text you can use a interger attribute instead of true and whenever it changes add 1 to the attribute and then the other text would be linked to display if the attribute number = the current number for it
Sign In or Register to comment.