Make object travel in a curve line


#1

Hi, everybody!

I’ve been wondering if there a way that you can tween or make object travel from position A to position B, but in a curve line? Or the tween is just limited to a straight path :thinking:
I would be very grateful if you guys can help me out :blue_heart:


#2

Hi


this is one solution, but where you need it?.


#3

I think, you can do tween too.


#4

Thank you so much!:blue_heart: I want to use it for my game, I want to make an enemy jump up and fall down in a parabola motion. How can I apply this to tween?


#5

Or you can use PlatformerObject, Physics or tween (bounce…)behavior too. When enemy jump or falling, force what you want.


#6

Here’s the “move object in parabola” example:
https://editor.gdevelop-app.com/?project=example://shoot-bullet-in-parabola


#7

Thank you guys so much!:blue_heart::blue_heart::blue_heart: I have a much clearer idea of what to do now! :blush:


#8

https://drive.google.com/file/d/1UM1eOh4VHDoIY6qcNC6fV30oXEIjU63O/view?usp=sharing
Here is one example.