how do i make a path?

0 favourites
  • 4 posts
From the Asset Store
Move around the rectangular and travel as much as you can!
  • i want to give an object a path.

    when searching for it in the manual i can only find pathfinding but i want just an ordinary orbital looping path.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey yotzer

    i am not a math expert but maybe for your project the sine behavior is enough. Give your sprite two sine behaviors, one horizontal and one vertical:

    Make sure that the 'Period' of both are the same. The 'Period offset' of one sine needs to be 0.25 * 'Period'. Magnitude can differ to achieve an ellipse. All these values can be stored in variables and changed in events.

  • thanks but i don't think you understood what i wanted.

    i was making a small pong with balls(planets) circulating around the sun and just wanted them to ..circulate .

    anyway i fixed it by pinning them to a rotating sprite.

  • i was making a small pong with balls(planets) circulating around the sun and just wanted them to ..circulate .

    yes. thats what i did. your solution is a good one too. if it works like you expected it to work its fine.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)