2 hours ago

#Devruary Double tap to sprint.

It's very simple, but on the engine I'm using I took a month just to get it to work at all (then I got burned out), now I'm trying to make it work right and it's probably the most puzzling thing I've coded so far

(Read )


History of the sprint mechanic in Koppy Kopsocks

This 1 mechanic has unbelievable amounts of lore

Old sprint mechanic

When I started working on Koppy Kopsocks (which at that time it had the old name "Kumper"), you only had to hold B to sprint, which it was something that the engine already did for you on default.

But as I finally started to get feedback on my game, many pointed out how unpractical it was to use the jump mechanic with the button when you also had to move with buttons (this was a big deal when you played with a D-pad, and I understood the struggle when I tried testing it with a controller), many recomended me to move the jump mechanic over to the B button, which it was kind of a conflict since you also used that button to sprint (I tested it out and having both mechanics on one button can be conflicting depending on what situation you're in).

Note that there's only the D-pad, A & B and the START & SELECT buttons.

I couldn't move the jump mechanic to the A button since it would replace normal jumping, the main reason I kept normal jumps when I had the special jump mechanic was just to keep the gameplay smooth (since you'd have to hold down for a bit just to jump over a small ledge, which it would disrupt the flow over small things).

So I ended up moving the jump mechanic to the B button and moving the sprint to the D-pad buttons as a double-tap event (just like in Kirby).

Double-tap sprint

When I first tried to implement it I tried to follow my same technique as I used to code when I made games on Scratch, but GB studio has many factors that makes scripting different (it's made specifically for Gameboy games so that's obvious), so I tried going to Reddit and found a post with a solution... except that it didn't work (and the comments also pointed it out) but there was no more activity.

So I dedicated weeks (I think it got to a full month) trying to figure out how to make a double tap script event, I rewrote the script many many times until I ended up reverting it to the old sprint code (hold B to sprint) just so I could release the "halloween update" on halloween.

After that I continued working on the new sprint code, I finally made it actually work but it was very unresponsive (and as I'm writting this post it still kinda is), so I spent more time trying to polish it until I burnt out and didn't work on the game for like 2 months until now.

Recently I came back to developing the game and I'm still trying to polish it, I already rewrote scripts many times just for it (which it just made it more unresponsive LMAAAOOOO)


I drew that doodle of Koppy in 27th october 2025! I might share all of my doodles & sketches of him someday.


#koppy #kopsocks #koppykopsocks #devlog #gamedev #digitalart #art #doodle #procreate #procreateart



0 comments

Loading...

Next up

"The Dragon that purges the skies"

#Devruary Sidetracking between different projects at once!

I had this bad habit for a very long time, I'd be working on a game and then weeks later I'd be working on another game at the same time, and then leave the other game abandoned and so on.

"The hunchback carcass of death"

Doki Doki Literature Club is celebrating Monika's birthday and the 8th anniversary of DDLC with exclusive stickers, avatar frames and backgrounds on Game Jolt! 

Head over to the shop to collect yours 👉 https://gamejolt.com/#shop

#Devruary I learnt some of it as I made small games on Scratch over the years until I left it for other engines.

And I'd watch devlogs and tips for devs on Youtube once in a while where I learnt some new stuff about gamedev (although I'm still a newbie).

Mae Borowski is the main character of Night in the Woods! It's an adventure game that tells the story of her return to her hometown of Possum Springs. She was confirmed as canonically pan in a social media post by the game's creator Scott Benson.

#Devruary having to deal with bugs while having no idea how to fix them (then you get stuck and leave the project for 2 months until you randomly unlock the solution for it and come back)

I rewrote a script many times now and the bug keeps getting worse

#Devruary KoGaMa! I always spent my time in there making my own maps and my avatars (skins) to then play on other user created maps, this idea of creating stuff that then you and others can play on it stuck with me and that's how I wanted to make games.

The Knightling launches on August 28! Wishlist it now so you don't miss out: https://bit.ly/KnightlingSteam

To celebrate the game's impending release, we've added The Knightling Pack and The Knightling Community Pack back to the Shop!

#Devruary I'm using GB Studio!

It's an engine for developing games for the Gameboy (DMG & Colour) systems. (Many devs got to put their games on cartidges and play them on the actual consoles!)

It's block coding based so it's very easy to get the hang of.