Having Issues Finding Out What's Wrong With My Code

Godot 4.2.1

Hi, I’m very new to programming and development and am wanting to release my first game to get started with game development. I wanted to start off as a stationary top-down shooter where you shoot at enemies coming towards you (no movement, only turning and shooting). I’ve been following a guide on a video making an asteroids-style game in godot and applying some of the code in that video to my own project, namely the shooting aspect. However, for some reason, nothing works and the I cannot shoot any projectiles despite the fact I am pressing the assigned button for the input. I am completely stumped and would highly appreciate a solution to this. Below are the scripts for the player, the actual projectile itself, and the game (I’m gonna have to reply with the other two scripts because I can only embed one media item in a post as a new user). Thank you.

It looks like you named you’re _process function in the player.gd script wrong. You typed _process2, while it should be _process.

I can’t name it anything else because than the name it has currently-the engine for whatever reason it labels it the same name as a previous function, that being the code that enables mouse movement.

but according to the pictures you don’t even have an assigned script in player.tscn and _process2() doesn’t do anything at all, the Input is moved to _process()

and based on your introduction, it would probably take a bit more study of godot and scripting before you want to develop a game. It’s a nice ambition, but I don’t think it’s going to work that way