this post was submitted on 23 Jun 2023
23 points (100.0% liked)
196
16459 readers
2134 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
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).