Blog Post
NoelGorman-c91c
Community Member
I've done something similar in the past, but not as complex as the back (*and forth*) done in this fantastic example. If I was coding it, I would place two transparent shapes (thin, vertical rectangles) far enough apart (I was testing out the shake distance - I got curious too), each rectangle adjusting a triggered variable: "set 'shake_left' to 'true' when object mouses over 'target_rectangle_L'" - and repeat the coding for the right. The next step/slide would be activated when both 'shake_left' and 'shake_right' were equal to "true". I'm not sure if that's exactly how he did it, but it's a way to get the effect done.
This was a great interactive!
This was a great interactive!
LaurenCorlett-1
5 years agoCommunity Member
Similarly, I wonder if you could do a narrow hotspot in the middle and add 1 to a counter when the "shake" object stops intersecting with the hotspot. Then the slide could progress when the counter reaches a certain number of "shakes".
Never tried it, but I'm tempted to now!
Never tried it, but I'm tempted to now!