1 month 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

Medals... Stars... All over the place!

Added star collectibles! You can collect 3 of them in each level. (Also updated many screens to include stats on your medals and stars.)

CAVE LEVEL!

Watch out for spiders... And your step!

Done decorating the cave (with also some slight changes in general), I also changed some of the colours (Koppy's palette now varying from each level, etc.)

This new update might be out soon.

Art that I made for my game during the #Devruary challenge!

I didn't got to post these directly to the game page, so here's a post with most of them there!

(Link to the original posts in the article )

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

VERTICAL LEVEL!

Here you have to go up instead to the sides to complete the level (the jump mechanics work much better in this level format!)

This might or might not replace the existing horizontal (normal) levels.

Play @pm-studios ' Bandit Trap Open Beta!

Grab your rocket chairs, vacuums, and toilet tornadoes! Report one more time for our final beta! Live through March 23rd 6 am CET.

Complete quests based on the game!

Play the beta: https://bit.ly/BanditTrapBeta

Decorated the level + extended it just a tiny bit. Also added more bird enemies to balance with the many mice enemies in the level

Still going to make more changes to the level (all of those checkerboard tiles at the start might not be visually appealing)

Preview of the 1st level's final tiles (W.I.P)

I made some changes to the tileset itself too (and might make more).

BIG NEWS: Your Bandit can wear a Game Jolt hat and shirt in Bandit Trap!

Defend your home or steal treasure in the open beta: https://bit.ly/BanditTrapBeta

It ends on March 23rd at 6 am CET!

HUGE NEW UPDATE OUT! (v.0.9.0)

First time I made a trailer!... Well it's not really the trailer but it kinda is almost a trailer (Also posted on YT: https://www.youtube.com/watch?v=6f8QV8gHDN8)

You can play the new version on the game page.

[ Music by ENAHU64 ]