Flash components › Flash files › Games
Wordsearch
|
Posted on 2009 Jul 30 |
Hi, i like to know how to start the play again when is over, with a buton.
Thanks
Thanks
|
Posted on 2009 Jul 31 |
To ale17: Hi and thanks for buying the wordsearch. To have a button to restart the game, you'd need to add some code to remove the containers and then run initialise again. Alternatively you could destroy the class (and its containers) and instantiate it again - up to you which method you prefer.
|
Posted on 2010 Jan 05 |
I have a much better Wordsearch available at http://www.quak.co.uk/products/quak-wordsearch which allows for the user to create their own game and specify the grid size from a menu.
|
Posted on 2010 Jan 09 |
@Gareth: Yours does look good, but is more expensive and it doesn't look like it comes with the source. I think this one could be modified very easily to do the same, by simply allowing the user to input their own words. By the style of both is very similar...who did theirs first?
|
Posted on 2010 Jan 09 |
Hi and thanks for your reply. It's true, the one on my site doesn't come with the source but it's aimed at a different audience, and this audience doesn't actually want the source.
I made them both. The one on my website is an extension of the one on here, and so is slightly newer.
I made them both. The one on my website is an extension of the one on here, and so is slightly newer.
|
Posted on 2010 Oct 23 |
hi
i need the words to appear only horizontly and vertically and that too either from left to right or from topm to bottom... what code do i need to edit for this?
i need the words to appear only horizontly and vertically and that too either from left to right or from topm to bottom... what code do i need to edit for this?
|
Posted on 2010 Oct 23 |
If you just make the text field only wide enough for one letter, it should just work as you described automatically.
|
Posted on 2010 Dec 09 |
I'm after the same as davindermann. I don't get that comment about the text field. How do we set it?
Also can we make it less characters across? 15 characters is too wide. It's for kids.
Also can we make it less characters across? 15 characters is too wide. It's for kids.




















Once it's chosen the words it will randomly create the grid for you at a size that you have specified when calling the class.
It will place the words in a different location every time, and any word that it couldn't fit into the grid will be dropped from the list automatically.
In short, all you need to do is give it the list of words that you want to use and away you go.
Here's the list I've used for this demo, as seen in the XML file: