Ask coding questions
Ive been following a tutorial to brief myself on pygame and I am having trouble getting this part to work, even when code is identical to the tutorial.
thanks in advance :)
turns out that I wasnt casting the rectangle to the actual player class.
When I run the code, it seems to work.
@CodeMaster007 thanks for the response, Im fairly new to running pygame inside of replit. What do you click on before you input your movement keys?
I cant test it on this device, but if you're typing in the console then that's why