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

Sprite following path

$
0
0

@ishmar wrote:

Hi all,

I'm curious about how to accomplish something. Guess it might be a general game development question but still, interested in a cocos2d-x approach.

I want one (or more) sprites to follow a path. I know I can use MoveTo and similar actions for linear movement, but I'm interested in non linear motion.

For example, imagine an animated sprite moving fast to endlessly 'draw' an infinite symbol, a heart, etc.

I've seen that exists bezierby and bezierto actions too, but not being that much bezier friendly, I prefer asking rather than spending time on what might me an "easier than that" solution.

Thanks

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17070


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