2d endless runner game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CB

Hi, I’m creating an endless runner game

I created 3 scenes:
map1.tscn
map2.tscn
map3.tscn

using the randi, I got to create ramdonly the 3 scenes.
My doubt:
each time the scene is created, it comes faster and faster and faster
I declare the variable for example speed = 400 * delta, the first scene created is correct but the others , the velocity is each time faster.

:bust_in_silhouette: Reply From: MagnusS

Same as this question

:bust_in_silhouette: Reply From: pochi

puedes crear una variable donde se almacene la velocidad