You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my understating, the player object should "leap" when the left/right key is released, with the leap distance dependent on the length of the keypress.
What actually happened
The player object didn't move at all.
Additional information
I've narrowed down the problem to the previous_duration and the current_duration functions always returning zero.
A minimal example of the issue (edited minimal example)
Version
0.3.0
Bevy 0.7.0
Operating system & version
Windows 10
What you did
I tried running the press_duration example.
What you expected to happen
From my understating, the player object should "leap" when the left/right key is released, with the leap distance dependent on the length of the keypress.
What actually happened
The player object didn't move at all.
Additional information
I've narrowed down the problem to the previous_duration and the current_duration functions always returning zero.
A minimal example of the issue (edited minimal example)
The text was updated successfully, but these errors were encountered: