I'm currently following a tutorial that show's how to create a simple game in Godot. It's nothing fancy - I just want to learn and understand better the engine and coding languages because I basically know nothing .
At the moment I seem to be stuck when hitting the enemy with a bullet, the game stops and the following error pops up.
Invalid call. Nonexistent function 'que_free' in base 'Sprite(Bullet.gd).'
I understood that something in the bullet.gd is off - cant figure what actually.
Here's the script:
var velocity = Vector2(1,0)
var speed = 250
var look_once = true
look_once = false
global_position += velocity.rotated(rotation) * speed * delta