So I am working on player input using the GETIN function and I have noticed that there is a que of inputs. The issue is that it appears that every time I call my movement command it stores all the inputs between ticks (the game is tick based). Is there a way to ensure that the que is empty or to only take the first input?
Question
Cunnah
Hello!
So I am working on player input using the GETIN function and I have noticed that there is a que of inputs. The issue is that it appears that every time I call my movement command it stores all the inputs between ticks (the game is tick based). Is there a way to ensure that the que is empty or to only take the first input?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.