[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Standard methodology for different game screens
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Standard methodology for different game screens
- From: Pablo Moleri <pmoleri@xxxxxxxxx>
- Date: Sat, 19 Sep 2009 15:13:03 -0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 19 Sep 2009 14:13:06 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=mnE+W9RW3yAGZDjClA3b5nj3tK1zyMf4SwQ1bclN/7k=; b=DjlYCqZWZIxv5zyvVI+pUgGsXWf4ip5P6lNQpW5qMpiD1XVJivf+OS+pvtQaNUlkC9 gPAwG8LCtMm/zHkqNbyth19JZ0Rd53PeaXOBSN+RLbVwNCd1qHSCHy6/RG6i6wZH7R4s BA+XIRAD2Zz2exlPgoMfkY9Og9t04i1A4Ngvk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=k9O6fs+7Q/B1hOiujgRg9X/gmPO3mjBEF87/BhA52e4jJK3xXkLxjtNHaQf0aD+8aE ZsoO+PbtOaYaE2DZX2u3MPPS747daCZavXhqL/kSuP14G+ZS6l/Bm/WIvH5KSUSv36b7 twE2FGWvAt/L4NdbaGynvxr+9/Bre5LbNul7M=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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