We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Stop running animateParamPuzzle

Home Forums Puzzles Stop running animateParamPuzzle

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31180
    Avatarweb
    Licensee

    I would like to know if there is a way to stop all running animateParamPuzzle actions.

    When this is not possible via a puzzle, is there maybe a programmatically way via javascript?

    #31215
    Yuri KovelenovYuri Kovelenov
    Developer

    Hi,

    this puzzle is based on tween.js. It has API for stopping the tween:
    https://github.com/tweenjs/tween.js/blob/master/docs/user_guide.md

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

    #31217
    Avatarweb
    Licensee

    Thx, for the link.
    I was heading also in that direction. But I couldnt get it working, cause I dont know how I can get all tweens in the scene and then execute the stop.

    Could you maybe give me a hint? :rose:

    Edit:
    Think I got it, just a simple:
    TWEEN.removeAll();

    Hope this is the correct way, without populating any other problems.

    • This reply was modified 1 month, 1 week ago by Avatarweb.
    #31227
    Yuri KovelenovYuri Kovelenov
    Developer

    awesome! :yahoo:

    3D Verger, the CEO
    LinkedIn | FB | Twitter | VK | 新浪微博

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.