I swear its not for something lewd 😅. It just ended up like this due to some unfortunate naming decisions lmao.
Also if anyone can guess the programming language they'll get a cookie (🍪) :3.
29 comments
I can tell it's godot script _simply_by_the_snake_case
🍪
GDScript, precisely in the Godot editor (these indentation guides are so unusual and me knowing that they exist only in Godot is a plus)
🍪
It has just now occurred to me that maybe i should only have given a cookie to the first person that guessed it, ooops 😅.
Definitely gdscript, furthermore I'm going to guess you're making a Hotline Miami-like game
Here's your cookie 🍪
I’m going to guess you’re making a Hotline Miami-like game
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.
stream = COCK 😳
cock_timer
Looks like GDScript to me. Pretty sure that's a screenshot from the Godot code editor
🍪
It's the G'Doe Game Engine (GDScript)
🍪
Thanks lol
Godot developers rise up
Don't you mean a cockie 😋
Python
python uses def for functions
Eww dynamically typed GDScript.
This post was made by the Static Typing Gang.
Is it dynamically typed tho?
Its missing the return type of the function (which i left out because its only there to be called from a signal so it doesnt matter too much & because the Godot editor didn't bother adding it when it inserted the function to receive the signal).
But otherwise its already statically typed right?
(COCK is a constant in the script that i did give a type and stream and play() are part of the AudioStreamPlayer3D node)
I mean yes and no... -> void means the function doesn't return anything.
What are you working on btw...? I assume it's some kind of shooter and cock is in reference to cocking a gun...
I can tell it's godot script _simply_by_the_snake_case
🍪