Can't hold down spacebar to wait multiple turns

Issue #44 resolved
Lunc created an issue

Only 1 turn passes, no others.

Comments (9)

  1. Jochen Terstiege

    Note to self: if we want to go from GetKeyDown() to GetKey() we need to introduce some kind of “repeat delay” since GetKey() is “true” for multiple frames, which means that pressing the key for a short period results in the character to walk/wait for 5-10 turns.

  2. Jochen Terstiege

    We now handle keys with repeat (wasd, cursor keys, space) ourselves. Other keys don't need the repeat mechanism and for safety reasons they still work like before.

  3. Log in to comment