I downloaded the Godot 64 bit Standard version for Linux here.
https://godotengine.org/download/linux
The proceeded to follow a YouTube video "Godot 3.1: Creating a Simple 3D Game: Part 2 (Programming 101: Character Movement)" by BornCG.
Two hours into listening to Fred Rogers talking to me like a 12 year old, I cannot progress in his script.
extends Spatial
var velocity = Vector3(0,0,0)
const SPEED = 20
func _ready():
pass
func _physics_process(delta):
if Input.is_action_pressed("ui_up"):
velocity.z = -SPEED
if Input.is_action_pressed("ui_down"):
velocity.z = SPEED
if Input.is_action_pressed("ui_left"):
velocity.x = -SPEED
if Input.is_action_pressed("ui_right"):
velocity.x = SPEED
move_and_slide(velocity)
I cannot enter the last line and get the following message;
Error 18,1 the method "moveandslide" isn't declared in the current class.
Line 18 is red highlighted.
I have 36 years of programming experience, did someone forget to compile something or is BornCG coding too old and something new took it's place??