this post was submitted on 23 Jun 2023
49 points (98.0% liked)
196
16442 readers
1941 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Definitely gdscript, furthermore I'm going to guess you're making a Hotline Miami-like game
Here's your cookie πͺ
What made you guess that?
One of the only functions I could think of that would fit the name and structure is one that handles the cocking of a gun. I know that Godot is primarily for 2D games, and Hotline Miami-likes are the most common 2D shooters I've been seeing recently.
Oh wow you actually got pretty close then XD. It's not a Hotline Miami like game but the code is indeed for cocking a gun (or rather for playing the sound for it).