I want to ask about the use of custom events in pygame .. I experimented a little with pygame, so I know how usual pygame-generated events works .. My Question
Event is send only when you use pgame.event.post(my_event) If you post it only once then you get it only once.
pgame.event.post(my_event)
Class Player could post event I'm dead and mainloop would end the game.
Player
I'm dead