Randomized spinning wheel
Nov 21, 2012
Hi All,
Whilst surfing the community forum, I sometime come a cross, questions on gameplay, randomizing functions...
So I thought why not create something that combines both, the result can be found in attached source file.
It uses a randomizer function, so it might be that you have to click spin more than once ...
Enjoy.
This is how it looks like
Please feel free to alter and use whatever part you want
Cheers
Geert
36 Replies
Thanks Geert.
Geert;
this is great. Thanks for sharing.
Tim
Hi Geert!
Thanks so much for sharing this. I just used it in this week's valentine-themed #ELHChallenge!
Here's the demo.
That's awesome Jackie :) Thanks for sharing that this thread is still helping users and thanks for sharing your project :)
My pleasure, Leslie! I seriously wouldn't have been able to construct this unless I'd found Geert's generous share. Just another example of the extensive value of a great community. :)
I agree, and I love seeing when these old threads are still assisting others :)
Thanks for sharing Geert. Great use of javascript into storyline!
What a great find Jackie, thanks for sharing!
And of course, thanks to Geert! :)
@Gert - thanks for sharing.
@Jackie - thanks for the link to this thread.
I hope using this trick in any future challenges.
Veronica & Joanna: You're welcome - I'm so glad if you can use this, too!
Wow! That's amazing Jackie! Thanks for sharing and pointing to this post.
I couldn't find the Java script ... I hope I am looking at the right post.. Would love to learn more.
Thanks
Hi Vanita!
Here's how you can see the actual JavaScript:
I hope that helps!
Jackie
Thanks for your continued assistance Jackie :)
My pleasure, Leslie! :)
Hi Jackie,
I'm trying to work out my own spinning wheel, but having difficulty with making it work. I've used Geert's example, but I can't seem to make it spin. Could you share your Storyline file so I can see what I'm doing wrong?
Thank you!
Hi Becky! Geert's .story file is attached to her initial post.
Hi Becky!
Leslie's right - Geert's file is your best bet. Examining it is where I got 100% of my information about the spinning wheel, the javascript behind it, and how to make it work.
I seem to recall it was easy to break when I tried to recreate it in a new file, so I ended up literally using Geert's file as the basis for mine and simply built on top of it. Way easier than trying to pretend I suddenly knew the first thing about javascript. :)
I found that proceeding with baby steps - just changing one image or one layer or one bit of javascript at a time, then testing it to be sure it still worked - was the way to go. It takes care and patience, but the result is a happily spinning wheel.
I am having issues with the spinner as well. I published the original file that Geert shared, and the spinner does not move. Any thoughts?
It could be that JAVA isn't enabled on your machine(s)
Thank you Geert for the idea. I had wondered this myself, and it is enabled. Does this have to be a storyline2 course?
Hi Dave,
No, it was originally designed for a SL1 course
Regards
G.
Thanks for your assistance Geert :)
Hi All Heroes,
I have created the same spin wheel in storyline 2 using javascript and its working fine. User will get a random number on every spin also i have added some questions in this spin wheel game. Try it and enjoy...
Thanks and here is the demo link:
http://creativtechnologies.blogspot.in/2015/08/randomize-spinning-wheel.html
Thanks for sharing Amar :)
This discussion is closed. You can start a new discussion or contact Articulate Support.