It is my first game and I need to know how to, for lack of a better word, pause the program but still run my animations and only stop them and continue the program when it receives use input.
for event in pygame.event.get():
if event.type == KEYDOWN:
if event.key == K_g:
if event.key == K_r:
if event.key == K_q:
if event.key == K_i:
When I run it and press "g" it does as shown BUT I don't know how to make it wait until either "r" or "q" is pressed. Thank you and yes I am a noob.