Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Thanks for confirming gimgangsan, that was exactly the clue I needed!

Your keyboard sends the right Shift without saying which side it is, so the game never saw it. I've just uploaded a fix: a Shift that doesn't identify itself now counts as the right one. 

Could you refresh the page and give it another try? I'd love to know if it works now.

It's working great! And the game is very fun :D

Just a minor issue: crouching (left shift hold) and dashing (right shift hold) do not respond right after the key is registered.

I guess it's because the code checks the elapsed time to distinguish tap and hold.

Not sure though, but I think making the tap event trigger when the key is released and the hold event trigger when the key is pressed (or check elapsed time for very short time) can solve this problem.

So glad it works now, and thank you for the kind words, gimgangsan! 

You're right about the cause: Shift does double duty (tap = lane change, hold = slide/sprint), so the game waits about a quarter of a second to tell them apart before showing the slide or sprint. 

Scoring uses the moment you pressed the key, though, so the delay is only visual and never costs you an obstacle. Starting the hold on key-down would make every lane change flash a slide first, so for the jam I'm keeping it as is. A small "anticipation" pose on key-down is on my list for after the jam. 

Thanks for such a thoughtful report! I really appreciate it! =)

Cheers!