Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input Handling. #15

Open
A-rms opened this issue Jan 27, 2024 · 1 comment
Open

Input Handling. #15

A-rms opened this issue Jan 27, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request on hold This issue has problems that need to be hashed out before it can continue work.

Comments

@A-rms
Copy link
Collaborator

A-rms commented Jan 27, 2024

Input handling issue:
Whereas input handling won't have anything to do with updating its position (at least not directly). Rather, it can update the member variable for speed (and/or acceleration) - OR, update flags for something like a bool m_isMovingLeft; - which might be better since we don't want them to actually start moving left if that flag is true, but some other bool isTouchingGround; is false due to being in midair (or, we could alter their speed by a reduced amount if in midair). But we'd add checks for those in tick(dt) when deciding if the players speed (and/or acceleration) should actually get altered.

@A-rms A-rms assigned Legac3e and unassigned Legac3e Jan 27, 2024
@Legac3e Legac3e assigned Legac3e and unassigned Legac3e Jan 27, 2024
@Rinzii Rinzii added the enhancement New feature or request label Jan 28, 2024
@Rinzii
Copy link
Member

Rinzii commented Jan 28, 2024

On hold till further discussion is finished in discord.

@Rinzii Rinzii added the on hold This issue has problems that need to be hashed out before it can continue work. label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request on hold This issue has problems that need to be hashed out before it can continue work.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants