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
When I export to local file, I can't find an appl[…]
Unless you have a paid version, I would also recom[…]
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[…]
I used STATE for a few tracks that I made. Thank[…]
What I would do, is check how long the player is f[…]
Hi Folks, I am tinkering with an idea for a game, […]
Ciao francesco fa piacere vedere un altro italiano[…]
I would say it is a pretty hard option to add, it […]
first i don't know what is cocos2d-js i don't know[…]
No, you're right. Paused scenes just eat some memo[…]
So i have a problem .. maybe not .. but when i tes[…]
On Trello we have this to send us the ideas now, […]
So then how to make the enemy come around to the […]