I’m building this little platform game and I followed a tutorial on Gdevelop’s youtube channel to make my character bounce back when getting hit by the enemy. I followed its steps but my action doesn’t stop the force applied to the character, so it just keeps moving away from the scene.
(The platform behavior is activated in other group)
Thanks in advance!!!
You have a wait for 0.2 seconds, whereas the video has is as 0.02 seconds. I’m not sure what happens with the wait command if you change timescale beforehand, but if timescale affects the wait command, then I’d assume the force is applied for 2 seconds.
Secondly, check the Hurt animation is not looping, and that the duration or speed of the animation matches that of the video.