Using Tables for the first time
Zombiebrains
www.zombiebrains.co.ukMember, PRO Posts: 296
Hi folks
I am looking to do a new app using tables.
I have an idea to show a story in bits. I have set up a main window actor showing text (ACTOR CALLED - SENTENCE) and and another smaller one underneath showing a question.
I have also two actors called NEXT and PREVIOUS.
I can get the main actor/window (SENTENCE) to show the main text from my table called STORY
My table is set up as the following
Table called STORY
Row/Column (1,1) - has the first sentence in the story
Row/Column (1,2) - has the first question
My question.
How do I set it up so the NEXT button goes to the table (STORY) and displays the next part of the story in the main window which would be at Row/Column (2,1) and how can I get it to show automatically the second question in the window/actor below (QUESTION)
2: Can you link a cell, in my case 1,2 to the first cell (1,1) so for example when it shows say SENTENCE 3 (Cell 3,1) it will automatically show in QUESTION the linked question in cell (3,2)
Any help would be appreciated.
Thanks in advance
I am looking to do a new app using tables.
I have an idea to show a story in bits. I have set up a main window actor showing text (ACTOR CALLED - SENTENCE) and and another smaller one underneath showing a question.
I have also two actors called NEXT and PREVIOUS.
I can get the main actor/window (SENTENCE) to show the main text from my table called STORY
My table is set up as the following
Table called STORY
Row/Column (1,1) - has the first sentence in the story
Row/Column (1,2) - has the first question
My question.
How do I set it up so the NEXT button goes to the table (STORY) and displays the next part of the story in the main window which would be at Row/Column (2,1) and how can I get it to show automatically the second question in the window/actor below (QUESTION)
2: Can you link a cell, in my case 1,2 to the first cell (1,1) so for example when it shows say SENTENCE 3 (Cell 3,1) it will automatically show in QUESTION the linked question in cell (3,2)
Any help would be appreciated.
Thanks in advance
It takes a Zombie to know a Zombie!!!
Comments
I think your questions can be answered in our Tables video tutorials: http://gshelper.com/product-category/free-templates-and-tutorials/working-with-tables/
Hope these help!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Cool, will take a look
It takes a Zombie to know a Zombie!!!
Want to so that it shows the SENTENCE 1 and then when I press my NEXT actor, the main text window will show the next sentence, that would be in 1,2. Is there a way of doing it so that if I press my NEXT actor it goes to the next SENTENCE automatically and show that new SENTENCE, along with showing the linked QUESTION in the window below>?
It takes a Zombie to know a Zombie!!!
Back in a min!
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Best
Braydon
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
That's exactly what I was looking for! cheer man!
I can use that and work out the second Bit i think
I need the QUESTION bit to auto display in the second window from the sentence in the big window.
It takes a Zombie to know a Zombie!!!
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Edit: Nevermind, the video gave me an idea of what tables do.
If you want to save values permanently, tables are the deal, instead of using lots of load and save behaviors with different keys, you can only use on save table behavior and all your changes will be saved to the device.
You can easily change lots of attributes of your actors, if they refer to a tablecell without opening each actor step by step and change everything by hand.
There are so much advantages of using tables, that I would strongly recommend everybody to get familiar with using tables to produce sophisticated code in GS
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I should learn more before I dive into tables so I can use them efficiently.
@FryingBaconStudios Thanks for posting the vid, very informative.
Getting to grips now with tables as my latest app is all table related...@braydon_sfx is right
Preserver as it's worth it...tables are very powerful indeed!
It takes a Zombie to know a Zombie!!!