Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: elusiven on June 24, 2016, 05:34:04 AM
-
Hi there,
So a week ago or so I was struggling with my grid, I managed to use the layout groups to make this all look how it should do.
(http://i.imgur.com/vupx0uk.png)
So this gets feeded from xml, and automatically creates the rows in a grid for words... Max 3 rows and it dynamically adjusts the boxes to fit words too.
Now what I need to do is this: Click on random word -> word moves on position 1, click on another random word -> word moves on position 2 -> build string from these two positions -> compare string to question.
(So basically, once you click on a word it will go up, on the lines and eventually by doing that you would build up a SENTENCE)
The only thing is how would I position those position points so that they are laying out in sort of same grid but word by word if clicked on?
Thanks for any input!
-
Hi,
If you tried my sample you could do a same kind of thing
When you click a word use "set parent" to set it to the top line
If you have not tried my sample yet, you can get it on my website (http://www.jinxtergames.com/playmakertutorials/playmaker-sample-files/)
I will continue working on the tutorial when my graveyard duty is done (5 days to go) :)
-
Hey, thanks for reply. Your sample does similar thing then? Which one is it? There is a couple on your website :)
-
Hi,
dynamic boxes on this (http://www.jinxtergames.com/playmakertutorials/playmaker-sample-files/) page