stop sequence action

  • rashasalah
    Likes 0

    Problem Description

    how can i stop a sequence action while running ?

    second : how can run actions from array one after one with a delay between them because when make them running by for loop the path looking Messy

    or : how can i know which action is running at the moment and pause it to make some rules related to that paused action

     
     
     

     

  • rashasalah
    Likes 0

    please i need it in js and sorry i cannot convert from cocos2dx c++ to my code cocos2d js can u help me ?

  • Sonar Systems admin
    Likes 0

    Try .stopAction

  • rashasalah
    Likes 0

    not applied in the code 

    question : how can i take the position of spirit to compare it with position of another spirit ?? cocos2d js please

  • Sonar Systems admin
    Likes 0

    use .getPosition().x on each of the sprites and compare, do same for y

  • rashasalah
    Likes 0

    .stopAction not applied in code if there is any another solution ?

    or itis syntax to try it in cocos2d js

  • Sonar Systems admin
    Likes 0

    Do you get any errors/warnings?

Login to reply