Skip to main content
Inspiring
December 16, 2016
Answered

Event Triggered by Moving Object into Boundary of Another Object

  • December 16, 2016
  • 1 reply
  • 199 views

So I'm experimenting with an exploration-type activity in Captivate 9, where you have a character you can move around by clicking left/right/up/down buttons. What I want to have happen is that when the character is navigated to a certain location, an event occurs - audio plays, object becomes visible, etc. So I need the event to trigger by simply moving the character (object) into/over the boundary of another object. However, it seems that there is not a way to trigger an event in Captivate this way, at least not using its built-in functionality.

I can't trigger the event by having the playhead reach a certain point on the timeline, because the playhead doesn't move (well, except until a button pauses).

Any workarounds using only Captivate to achieve this goal? Or is this possible using Javascript?

Here is an example built in another e-learning software tool that shows a character interacting with objects in the way I'm trying to replicate:

http://www.richardleehill.com/heroland/http://www.richardleehill.com/heroland/

Thanks.

    This topic has been closed for replies.
    Correct answer Lilybiri

    Have a look at CpExtra widget developed by InfoSemantics. You can create events on any objects with that widget (HTML only).

    The other approach would indeed be with JS, using the cpAPIEventEmitter from the JS API Learn about the Common JavaScript interface for Adobe Captivate

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    December 16, 2016

    Have a look at CpExtra widget developed by InfoSemantics. You can create events on any objects with that widget (HTML only).

    The other approach would indeed be with JS, using the cpAPIEventEmitter from the JS API Learn about the Common JavaScript interface for Adobe Captivate