Example
Jonathan_Hill
4 days agoSuper Hero
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...
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