Closed Siavoosh closed 7 months ago
i think there might be some issues because you have defined physics & draw in line 370 and 371 which means when game is paused you can also make changes at the same time but they just don't happen until resuming the game i hope i'm wrong & well done for your effort mate.
thanks for reply, i double checked and it seems OK by me, physics & draw are protected with "if" block and won't be called in case of "Pause". in the other hand , in "handle_pressed_keys" function , all moves has a condition and if status was paused , all the move actions and shooting, simply gets ignored.
now by pressing "P" you can pause and resume the game. issue #19 & #20 can be closed.