GarbajYT / godot_updated_fps_controller

An updated basic fps controller for Godot 3.3 and 4.0
MIT License
240 stars 49 forks source link

parse error: unexpected @ #5

Closed MrKong121 closed 3 years ago

MrKong121 commented 3 years ago

No idea what I'm doing wrong here but for some reason, it doesn't seem to like having @ before every "onready" this is my first time trying to make a game so its to be expected that I would run into a couple of errors so any help would be appreciated

GarbajYT commented 3 years ago

@onready will only work in Godot 4.0 and above. If you are using a 3.x version of godot, use the 3.3 version

MrKong121 commented 3 years ago

I'm kicking myself I didn't even bother to check my version that's literally all I had to do