Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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!