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.
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…
What are you working on btw…? I assume it’s some kind of shooter and cock is in reference to cocking a gun…
Nothing concrete, my dream would be being able to recreate/mimic Fistful of Frags in Godot. The reality is that i keep starting new projects trying to recreate parts of it (omitting stuff that’s hard and i know nothing about yet like multiplayer, animations, modeling etc.).
This specific piece of code is from a current attempt where I’m trying to mimic the games movement and shooting closely enough to create a small shooting gallery like thing. And then use that to learn more about how to (possibly) use Blender as a map editor for it.
It has just now occurred to me that maybe i should only have given a cookie to the first person that guessed it, ooops 😅.
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’s the G’Doe Game Engine (GDScript)