#Your First 2D Game Tutorial Help
36 messages · Page 1 of 1 (latest)
You have link to tutorial?
"Your first 2D game — Godot Engine (stable) documentation in English" https://docs.godotengine.org/en/stable/getting_started/first_2d_game/index.html
In this step-by-step tutorial series, you will create your first complete 2D game with Godot. By the end of the series, you will have a simple yet complete game of your own, like the image below. i...
@small vortex
Guess you are at https://docs.godotengine.org/en/stable/getting_started/first_2d_game/05.the_main_game_scene.html#the-main-game-scene ?
Have you linked/add the player scene to the main scene?
Maybe a screenshot of the main scene helps?
Now it's time to bring everything we did together into a playable game scene. Create a new scene and add a Node named Main. (The reason we are using Node instead of Node2D is because this node will...
And lastly Player
Have you solved your problem or do you still need help?
If you still do I think I can.
I don't see the main scene 😕
I still do.
Sorry give me a second
Create a camera 2d to ur player
Set the property current to true from the inspector
You will see where your player actually is when you debug your game
The player might be spawning way further than the real camera
Your looking for this ?
How would one do that?
Do I add it as a child node?
print(global_position) @daring reef put it in the func _process()
Now you find the printed text in the output
I got (3,7)
@copper zephyr Thoughts?
I dont think there is thought when you reply after 1 hour
I see this man gave you 24 hrs not a second too
Have you tried comparing your version with https://github.com/godotengine/godot-demo-projects/tree/master/2d/dodge_the_creeps ... maybe that helps.