Projects
Discord
Events
Jams
Unwind
Conferences
Resources
Forums
Fishbowls
Podcast
Newsletter
About
Manifesto
About the Team
Log In
← Back to index
Day 32 At the end of the day's code, Player is not moving
Lokit Khemka
#23284
August 18, 2020
I tried unplugging my controller and using WASD Keys, but the player is not moving. Any help is appreciated.
EDIT: As I was testing my code, it seems my code seems to not read any kind of input. Why is that happening?
EDIT 2: SOLVED by dealing with a warning.
Edited by
Lokit Khemka
on
August 19, 2020, 2:38am
Simon Anciaux
#23286
August 18, 2020
Do you use code you typed or Casey's code ? Did you try running Casey's code to see if you have the same issue ?
Have you tried setting a breakpoint in
Win32ProcessPendingMessages
and see what is happening there ?
Could you share your
win32_handmade.cpp
?
Lokit Khemka
#23288
August 19, 2020
Same happened when I ran Casey's code too. But, then I realized it was because of a warning. Since, it was not compiling, I was running an old executable. Once I dealt with the warning, it was working fine.
Reply to Thread
← Back to index