Example

Jonathan_Hill's avatar
Jonathan_Hill
Super Hero
4 days ago

BEAT THE MACHINES

Hello!

Like every object in Storyline, sliders have their very own object ID that can be accessed via the new Javascript API:

With Javascript, it's possible to take this object ID and manipulate the z-index of three overlapping sliders, so the slider that is being moved always passes in front of the other two.

Er, a bit like a 'cup and ball' game... 

Play BEAT THE MACHINES here!

There's a lot of other stuff going on in this demo, including a 'collision detection' system (also powered by Javascript) to ensure that no two cups occupy the same position.

If you'd like a more in-depth look behind the scenes, read my full write-up here.

No RepliesBe the first to reply

Getting Started with the E-Learning Challenges

Find practical answers to common questions about the E-Learning Challenges, a weekly event that helps you build skills, create your portfolio, and grow as an e-learning professional.