[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Standard methodology for different game screens



Hello,

I'm going through a game code written in pygame, the game shows different screens:
- an introduction
- a menu
- and then it enters to different game modes.

For each of these parts there's a different pygame loop, which doesn't seem right.
I would like to know if there's a standard way to use pygame in this scenario.

Thanks in advance,
Pablo