Hangman Game
Apr 24, 2015
By
G Innes
Hi all
I've been working on a hangman game in Storyline 2 where you have to guess the letters of a hidden word. You are allowed 10 errors before the stick man is hanged (lovely!) and the game is lost.
I've made this version using a variable for each letter of the alphabet to either reveal the correct letter chosen or deduct a point from the 10 goes errors allowed (linked to the graphics of the man), but it seems quite an inefficient way to do this. Can anyone think of a more efficient way to create this mechanism?
Published version:
https://dl.dropboxusercontent.com/u/7817836/HANGMANGAME3/story.html
Thanks
Gavin
25 Replies
Nicely done, Gavin! I can't wait to dive into your source file. Thank you so much for sharing!
Hangman Game
It's very much a quick prototype (hence the typo!). There is at least one variable around the scoring that could be removed for efficiency, but it is still quite a complex interaction for basically a one question quiz. It will be interesting to see if there are other ways to approach it.
Gavin
This post was removed by the author
We don't worry about typos when we're sharing ideas, Gavin! The concept and presentation are what counts. I'm doing a workshop this morning but I'll take a look at your file this afternoon.
Nice example Gavin. Here's one that I built: Hangman
I'll attempt to explain my workings below:
Hi David,
I like your graphics and sounds :) Is your one easy to amend for different projects? I'd like to get to the stage that this can be inserted into different project without being a major headache.
Gavin
Yeah I'd say it would be quite easy to drop in to any project, I'd imagine yours would be too from looking at your file.
Thanks for the feedback. Having seen your game, I might make some nice
graphics and sounds for my one and use it in a project :)
Have you made any other games/puzzles in Storyline?
Gavin
You've already done the hard part and rigged up all of the code so updating the graphics and adding sound effects should be the fun bit!
We have quite a few games/puzzles that we've developed in Storyline, I've extracted a couple of the popular ones from one of our demos, they are the Line connector activity and the Crossword.
Hi David
Nice games :) I like the crossword in particular! It's been a long time
since I've managed to complete one ;-) Thanks for sharing. Quite
inspiring.
Gavin
Thanks Gavin, I'm glad you like them.
You're right Reece, keeping track of what all the triggers are doing is the hard part!
I might have a text variable for each letter in the correct answer and, obviously, a text variable for the learner's guess.
Then I'd use a series of triggers to compare the learner's guess to each of the hidden letters in the answer.
I'd use a numeric variable to keep track of how many wrong guesses had been made, and each time the number in that variable increments, I'd use a trigger to change the state of one element of the stick man figure from hidden to normal.
Games are a great way to have some fun especially as a recall/knowledge check. Rather than simply guessing letters (sort of a wheel of fortune style approach), we've used a power point version of hangman asking questions of a participant - if they answer the question correctly, they get a letter, wrong answers build the hangman. I wonder if this could be adapted into Storyline using the quizzing slides?
This post was removed by the author
Nice Design. There are some changes need to be done in the layout, but few touches can make a lot better.
Can this be done in Storyline (not 2)?
Gavin, I get an error trying to load up your demo.
David, I really like the style of your game.
Here's my stab at Hangman
Hi Marti, I can't speak for the other examples but there isn't anything in mine that shouldn't be possible in SL1.
Thanks Alex. I like that yours has a variety of questions, keeps it interesting.
Thanks David. It's part of a set of games for tax training (hence why the words are all tax related). Each word is randomly pulled so it's not always the same.
Marti, I used SL1 to produce my game.
I don't see why not, I think SL2 brought the slider tool and support for Android. Nothing that would prevent this from working.
Hi Alex
I've updated the link with my last version. I have added new graphics and sound :)
Gavin
I like the new additions to your game Gavin.
This post was removed by a moderator