How to make player move automatically to the right, like in Chrome's Dino game

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

I want to make my own version of Chrome’s Dino game but I can’t figure out how to make the player move to the right when I press a key (spacebar). Thank you in advance!

:bust_in_silhouette: Reply From: kidscancode

In the Chrome Dinosaur game, the player doesn’t move at all. The cactuses appear on the right hand side of the screen and move to the left.

Have you read the official Godot tutorial? It will help you with basic things like creating objects and moving them.