A Tumult Hype extension that provides enhanced scene transition and interaction events. It fires HypeCardUnload, HypeCardPrepare, and HypeCardLoad events specifically when the scene name (your "card") changes, intelligently ignoring layout-only switches. Additionally, it introduces HypeCardInteraction for detailed pointer interaction tracking, including swipe detection. You can also define a single HypeCardEvent handler to catch all card-related events.
The swipe detection is much less sophisticated than the one in Hype itself. I might upgrade that in a future version because Hype is using an angled cone with some extra rules. But for now, this does the job pretty well.Cool! Do you have an example document that makes use of this?
Here you go (just some simple console logs to demo):
HypeCardEvents.hype.zip (182,1 KB)
I read the title as HyperCard. ![]()
Awesome, that makes it more clear. Thanks!
