how to create predicted jump path like subway surfer

In Subway Surfer the coins in the jump way automatically adjust the length depending on the speed. I want to know how it is done can anybody tell me plz

I am pretty sure that you can achieve this in a simple way by just increasing the Time.timeScale gradually by a really small value, and the game gets going faster without the need of adjusting positions of the coins.Probably not the best way of doing it, but it should sort of work.

On the other hand, you could probably need to get some sort of offset value that the coins have in between them and then multiply that with the speed value of the character.

Hope this helps! If I’m wrong, please correct me.I’m also a beginner myself.

thank you I will try this.

1 Like

Hi, I tried this It works but with wared gameplay when the time scale has increased the gameplay is faster but also when I try to jump the magic begins. Quik jumps and landed. this shows like my game is fast-forwarding. And it tells my state to the players that I’m a noob programmer. :smile:

I tried the second method you tell, But I don’t Know Hove to do that Can You Plz:(