Hi, I'm thinking of creating a charades GameSalad game, but I would like to know, whats the best/easiest way to create a GameSalad charades game? Thanks
- Hunter
Comments
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
I assume you want a game that provides a random word or phrase and a timer?
There are trivia templates available that you can re-purpose for this. And there are plenty of timer tutorials and videos.
The basic idea would be to store your phrases in a table, one per row. Then pick a random row and after retrieving the data from that cell and displaying it, delete the row.
What else are you trying to do?
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
@tatiang I have one more question on a scale of 1-10, how difficult is this to create? for someone who has never worked with tables before as well as a first app? Thanks
I have one more question on a scale of 1-10, how difficult is this to create? for someone who has never worked with tables before as well as a first app? Thanks
- Hunter
Not difficult at all once you've worked with tables.
* One table with all of your words in. One blank table. * At the beginning of the game copy the words table into the blank table with the "Copy Table" behavior. * Randomly select a word from the copy table with random(1, tableRowCount(your copy table name)) * Store the random number in an attribute so that you can delete the row from the copy table. This will stop the word coming up again in the same game. * Repeat the last two steps above until they quit the game or there's no more words left in the copy table. i.e. tableRowCount(your copy table name) = 0
You will spend more time thinking about which words to include in the game (and quite possibly, designing your interface) than coding the logic for the game.
Comments
There are trivia templates available that you can re-purpose for this. And there are plenty of timer tutorials and videos.
The basic idea would be to store your phrases in a table, one per row. Then pick a random row and after retrieving the data from that cell and displaying it, delete the row.
What else are you trying to do?
- Hunter
* One table with all of your words in. One blank table.
* At the beginning of the game copy the words table into the blank table with the "Copy Table" behavior.
* Randomly select a word from the copy table with random(1, tableRowCount(your copy table name))
* Store the random number in an attribute so that you can delete the row from the copy table. This will stop the word coming up again in the same game.
* Repeat the last two steps above until they quit the game or there's no more words left in the copy table. i.e. tableRowCount(your copy table name) = 0
It's a great practice app, so go for it!