41
Just wrote some code (rule) (lemmy.blahaj.zone)
submitted 1 year ago by Ti_Ka to c/196

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.

you are viewing a single comment's thread
view the rest of the comments
[-] animelivesmatter@lemmy.world 7 points 1 year ago

Definitely gdscript, furthermore I'm going to guess you're making a Hotline Miami-like game

[-] Ti_Ka 4 points 1 year ago

Here's your cookie 🍪

I’m going to guess you’re making a Hotline Miami-like game

What made you guess that?

[-] animelivesmatter@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

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.

[-] Ti_Ka 4 points 1 year ago

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).

this post was submitted on 23 Jun 2023
41 points (100.0% liked)

196

16573 readers
1797 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS