Greeting Eli,
Thanks for your input. I'm familiar with editing JS outside of SL2.
However, I want to recreate this, or similar, using SL2 only as I will be passing this project on to someone else.
Surely, this can be done using triggers...no?
I'm working on the portion you posted.
SHaLaWah!
Hello MaNaCHa R, do you have some example using JS in SL2? I discovered in meantime that command in script:
document.bgcolor="#335577";
indeed paint background of webpage behind SL player windows but other tricks I wasn't able to implement. How to reference Shape (circle, rectangle, image) and change them fill color or border color is for me - a secret! I can't explain how I'm sad due that...
Greeting Pod,
Thanks for reaching out. However, I don't use JS in SL2.
I'm quite new to SL2...learning everything I can, as I go, and from this fantastic community.
As mentioned earlier, I will be passing on all projects to "java-free" colleagues.
Sorry!
Guess who decided to join the party? I am so sorry to keep all of you waiting I have been away on holiday and didn't realise this post had been created. I am not going to take credit for the JS as I got one one my developers to help me with it, so not sure I can answer the questions about JS.
For those that would like the story file here it is
http://www.taniavercoelen.com/freedownloads/SpinnerGame.story
Enjoy and do amazing things will it.
Tania
Hi Tania,
Welcome to the party! Did we mentioned it's 70's disco?
Regarding your "outfit" (your storyline file), I think its missing in action. 70s must have called and wanted its file back :-)
Can you please check the link? It appears more than missing the extension and the use of the space in the title.
Peace!
When I copied/paste into Firefox I got major gibberish.
However, when I copy/pasted into Chrome....viola! The party was on...."let the music play".
Thanks much!
Is there any way to ensure which one is picked last? Also, I have noticed with the randomisation that occasionally the spinner is hitting the same one more than once. Any ideas on this? Absolutely love this by the way :)
JavaScript to generate a Non-Repeating random number can be found here: https://community.articulate.com/discussions/articulate-storyline/ensuring-a-random-number-is-not-re-picked#reply-492986
44 Comments