juhojo / corejumper

Platformer game
MIT License
2 stars 0 forks source link

Limit level changing speed #8

Closed ilpoo closed 7 years ago

ilpoo commented 7 years ago

When holding down arrow keys in the Levels menu, the speed at which the levels are cycled through should be limited. Perhaps one per 300ms?

juhojo commented 7 years ago

Currently navigating by holding the arrow keys in Levels menu is controlled with timeout and date object. There is a 300ms delay which seems to be sufficient.