Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mybad |
iam totally new with the engine just getting started
well iam following a course on udemy “godot-beginner-to-advanced”
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | mybad |
iam totally new with the engine just getting started
well iam following a course on udemy “godot-beginner-to-advanced”
Reply From: | kidscancode |
You’re following a tutorial for Godot 2.1 while using Godot 3.0.
In Godot 3.0, many methods were renamed, and most node properties were made accessible directly instead of using get/set methods. The line would be:
var rightplayerposition = get_node("rightPlayer").position
You’re going to run into a lot of these. I recommend you start with a 3.0-focused tutorial. The one in the official docs is a good introduction to the engine:
http://docs.godotengine.org/en/latest/getting_started/step_by_step/your_first_game.html