Hello, i'm curious about something regarding player input.
I understand both polling events and doing a .GetInput().IsKeyDown can work for detecting when a key is pressed, and I seem to be using both in my current project.
Polling events handles going through a door (W key) and i usec getinput to incorporate a yoyo item when return is pressed, i guess because i did that later on in the programming progress. movement is also with GetInput (A and D keys).
Is there a big difference here, is it recommendable to stick with one of these methods?
I have seen poll event be applied for closing the screen a lot but directional movement seems to work with GetInput() is many programs, to cite an example of both being in the same program. i guess thats my question. my program is functional and i seem to be becoming more efficient at debugging so i might as well work out the minor details. by the way i just organized all my code which was a little scrambled up, which is why i got to this question in the first place