fix event based axis input giving results that are not in range -1 to 1 #8

Merged
Sara merged 1 commits from event-input into move-and-slide 2023-06-18 20:24:31 +00:00
There is no content yet.
Sara added 18 commits 2023-06-18 20:23:31 +00:00
6f78731d8f normalize will now normalize if either x or y is non-zero
previously 100,0 would return 100,0 instead of 1,0
fcb9645dbe added NORMALIZE #define macro
avoids pointers and the accompanying dereference operations of normalize(...)
a93d09c96c reworked most input listener types to use OS events instead of checking state on update
this allows for them to be more reliable with low framerates
Sara changed target branch from main to move-and-slide 2023-06-18 20:24:07 +00:00
Sara merged commit fd99159b27 into move-and-slide 2023-06-18 20:24:31 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sara/basic-game-framework#8
There is no content yet.