https://docs.godotengine.org/en/stable/getting_started/first_2d_game/04.creating_the_enemy.html
Creating the enemy — Godot Engine (stable) documentation in English
Now it's time to make the enemies our player will have to dodge. Their behavior will not be very complex: mobs will spawn randomly at the edges of the screen,...
creating the enemygodot enginestabledocumentationenglish