This is my event:
How can I loop it so that goes from Origin to Destination back to Origin, and so on?
I know the variables work, because if I only use one of those, the object travels from it's current position to the variable coordinates.
Wendigo wrote:You could also use the "Lerp" expression (linear interpolation) for movement between two points. Unfortunately the description of the function doesn't tell very much. It takes three arguments:
1. Start point
2. End point
3. Percentage between the two points (0.0 - 1.0 where 0.5 is right in the middle between the two points)
Should be easier to calculate than using forces.
I can't find any movement/position conditions that take those three arguments
Lizard-13 wrote:I have an example here using the lerp function to move back and forward between two points:
Hope it helps
In the example, we move the camera if the object i[…]
Tried the whole evening to get that %&$§$% Cor[…]
I corrected my nickname too Sorry, it was not in[…]
Well, if it works in the platformer example then m[…]
Probably there are multiple events changing the an[…]
I see, the "Is moving" condition checks […]
 I guess you "miss-edited" the first[…]
Hi, i want to put banners to my game i realize tha[…]
je confirme, toutes ces images n'existent pas : el[…]
Happy Wednesday Everyone, I've added a couple of […]
Thanks Ddabrahim such a long post! You mentioned g[…]
When I export to local file, I can't find an appl[…]
Thank you so much, that's exactly what happened.
Thank you ddabrahim .. i know i ask a lot of quest[…]
How can i use inventory events in gdevelop 5 ? E[…]
Bonjour, En essayant de faire un plateformer j'en[…]
Merci beaucoup ça fonctionne ! :D
D'accords merci ! :)
Would you be able to add a button to speed up time[…]
Thats pretty easy. Just add a random amount of pix[…]