Hey all! I've started to learn some Godot after gaining an interest through a school project of mine.
I've got some background with python and program development so I've found the scripting pretty familiar, although I haven't really developed code for games before so I'd appreciate if anybody could read over some script I wrote for a project I'm using to just learn the basics of the system.
I've attached the .gd file to this post, as it's a bit too long for discords character limit.
I'm looking for any conventions or tips you might have to simplify or optimize what I've got so far.
The script is just connected to a sprite node in the main scene, and there isn't anything else in the project so it's just the code.