Is there any way to make a track system?

Hey all!
After two horizontal levels in a row, I think it’s time to freshen up a bit with a vertical one. But I was just looking to see if something was possible- a track system.

You might not understand what that is, but I’m sure you’ve seen it before- especially Super Mario fans. A track system is when there is a line on the level and an object can be attached to it, in which case it moves along the line.

For some examples:
Video about tracks in Super Mario Maker
Tracks in Mega Man

I’m not looking for anything complex like in Super Mario Maker- just the ability to add platforms/enemies and have them follow the track for now.

If this isn’t possible, it’s alright. There’s always the “cheating” way- programming them to move and then putting a sprite of a track behind them. But If possible, I’d like to understand how, please. :heart_eyes:

there is no track system, but you can use trick.
This example is a good way to do tracks
https://editor.gdevelop-app.com/?project=example://racing-game

When car is over a sprite, car moving in direction of sprite.
Or you can use Tweens behavior for create interpolation between multiples positions.
Or for a circle you can offset the center point of your sprite and rotate it :slight_smile:

Thank you for the advice! :smiling_face_with_three_hearts: