Crossword Puzzle Problem
Sep 23, 2022
Hello,
I have been attempting this for about 4 days now. I have made a simple crossword puzzle, the type where you don't have to type in each letter on the grid. This one has the answers in layers overlaying on the crossword grid. So if I click on the 1. Down green cube it opens up a text entry box, you put in the correct word "cellblock" and the box disappears because that is the correct answer. And if you are incorrect, a dialog box will tell you so and you can try again. The only problem is that the crossword grid doesn't show the layer with the answer if you are correct. I have attached the file. Can anyone give me a hand with this?
Thanks,
Mike
10 Replies
Im trying to fix it now...and do notice a mass amount of unused textvariables ( up to TextEntry159 !!!) that clutter all and make it hard to debug. Guess those are remainders from an attempt making inputs per character. Nevertheless do make a habit of naming your variables... so not TextEntry35 but something meaningfull... inputEthanol or some like that. I suspect choosing a wrong variable causes it not to work.
In fact im 100% sure now that the mass amount of unused/unnamed variables contributed to the error, or rather make it hard to debug and thus cost you 4 days work. Do name all variables and input fields properly and mistakes are quick to find.
For example: Layer 4 and layer 1 both test for cellblock...whereas 4 should test for gross. So also name your SlideLayers recognizable.... thus not 1,2,3,4 but SL_cellblock, SL_gross etc...
And even Slidelayer 5 tests for cellblock...
As i work quickest with Javascript additions in Storyline i changed your setup a bit and removed the layers with the correct words. Added those to the baselayer and hid them at start. When correct using a simple GSAP javascript to show them. Works perfectly.
https://360.articulate.com/review/content/0d18d4c1-b7fb-4a4c-90da-171a4050cab8/review
Adding the Storyline as is now. You direct can see that naming layers, inputfields and variables properly makes all this way easier. Fixed in less then 20 minutes.
Gonna try and get this done without Javascript now too. Using your layerbased setup.
And when the errors are found ( mainly by properly naming everything ) the Javascript can easily be replaced by triggers. As seen here..
https://360.articulate.com/review/content/fbbd59c1-a403-41ab-b797-6a87b389db9b/review
However you notice that the images/words donot fit as precisely as in the Javascript version. I plainly copied and pasted the elements from the baselayer to the slidelayers, so this is a internal Storyline issue that causes the position of Slidelayers to be somewhat off. Thus making it hard to get precise results...as you can see in the Review sample above.
Have fun with it...
I just wanted to chime in and say welcome to the community, Michael! I love the pop-up to type in an answer! Such a cool design. It looks like Math and Walt over in this discussion are sharing some great ideas. Let us know if you have more questions!
Thanks so much Matt. I appreciate.
Thank you Sarah as well. I am not an expert with Storyline yet, but loving it.
I may have one final question about the crossword. After the crossword is completed can I insert a Congrats! You've Completed the Crossword?
Thanks so much folks,
Mike
Ofcourse. Either as extra layer.. or just a new slide
Thank you Math! How do I make the completion/Congrats layer understand that all of the words are present and it's time for the layer to appear.
Yes, I am getting a book on this program as well. I'd like you to keep from pulling your hair out. :)
Mike
Hey Michael! I really like the idea of showing a COMPLETE layer so the learner gets the satisfaction that they completed the entire crossword. To show that layer, you need to add some more variables and triggers to your project. I went ahead and made the changes for you in the attached file. But here's a breakdown so you can see how I made it work:
I hope that helps!
Thank you Sarah, much appreciated. This looks great!
Mike
You're welcome, Michael! If you have more questions, let us know! Have a great day!
This post was removed by the author