Friday 13 June 2008

Hangman

This hangman game is based on a tutorial by lukamaris - it's quite a big tutorial, over 6 parts, and quite complicated. But I particularly wanted to learn how to combine external files with a Flash front-end, so that the game can be customised by just amending the external files. This one uses a text file and an xml file for the list of words. Lukamaras' example has animals, but I wrote mine after a whole weekend of watching the Crime Channel, so in this version you have to guess the name of the murderer......



Note that the above sample gives you an error message - if you just ignore it and click, you will get an idea of how it works anyway, but to make it work properly you need the full-sized version here. Later on I will extend the XML file with more names, so the game lasts longer.

No comments: