Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17118

Execute logic on action stop

$
0
0

@Mayzie wrote:

So, I want to execute some logic when an action has finished running. At the moment, I have created a new class inheriting from the JumpBy (my action) class and overriding the stop() method. However, that stop() is not getting called.

What's the correct way to go about this?

(sprite->runAction() performs the action successfully, but on stop it doesn't execute the stop() method)

Posts: 4

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 17118

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>