0

I'm re-creating the Pong game and I want to make 1P mode and 2P mode option like super smash bros. melee or other that alike I think it's possible to make it but I didn't find any references or anyone that has done this.

Link to the code: https://github.com/MiiNakPMPL/PONG/find/main

Do anyone know how make it? (I'm really sorry for the really bad English)

  • [`pygame.event.get()`](https://www.pygame.org/docs/ref/event.html#pygame.event.get) get all the messages and remove them from the queue. See the documentation: *"This will get all the messages and remove them from the queue. [...]"* If `pygame.event.get()` is called in multiple event loops, only one loop receives the events, but never all loops receive all events. As a result, some events appear to be missed. Get the events once per frame and use them in multiple loops or pass the list of events to functions and methods where they are handled – Rabbid76 Dec 29 '21 at 07:46

0 Answers0