You have this backwords
if your going up should be -= 1.
The screen starts from the top and goes down.
left top corner is 0
x axises left -to right
y axtsts top to bottom
your also missing the if event.type ==
Hope it helps
if your going up should be -= 1.
The screen starts from the top and goes down.
left top corner is 0
x axises left -to right
y axtsts top to bottom
your also missing the if event.type ==
Hope it helps
#if pressed_keys[K_UP]: ypos += 1 #if pressed_keys[K_DOWN]: ypos -= 1
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags