How do I create realistic train movements in my game?

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I create realistic train movements in my game?

I am trying to create a smooth, realistic movement system for a train in my 2D game using GDevelop. I want the train to follow a curved path, similar to a real train following tracks, and ensure it decelerates when reaching curves or stations, then accelerates smoothly afterward.

What is the expected result

  • Using curve movement
  • Start from the right side of the screen.
  • Move towards the end of the track, slowing down as it gets closer.
  • Stop near the end.

What is the actual result

The ship’s movement is skewed and it doesn’t feel realistic because I used animation exported with Spine

Related screenshots

Game Image:


Video Link:
https://www.awesomescreenshot.com/video/32603567?key=4a906a53f0225220f98f2034fdf763dd

Project files (optional)

Project Link Drive