[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] the game.Mainloop() myth
- To: pygame-users@xxxxxxxx
- Subject: [pygame] the game.Mainloop() myth
- From: "Eric Hunter" <hunter.eric1@xxxxxxxxx>
- Date: Thu, 25 Oct 2007 00:25:18 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 25 Oct 2007 00:25:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=RjIOo55cxpY/9kFT6L+pM5lq4kwDDwKIBoIeH1eNVXc=; b=DDOLHbSVipXDFJNbCTNEKGIcRRz2tBju59M3MHmDowJjwt1BN9J5JO/Ey+zHbrfBpuTzFLkrMWg1p3BFowiEuPHVxCQT4ojOAqJf1yfUMaUgmMBa2PnNAetR6G+0hrB4l6VT+6PLp0l2QSDCuz42mRKA/nKzpLegfrYtoreQOa8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Q9kZjiwlENcJcwlhe8jLTnpzN2AGWyiUbzr2T1NTSgZRGckMhFKd2hKwXpqvRYN1WxIuKpmNj+Wr8WCUOrNO6wOEYGor403RFoZwLq+JHz4O5R+Jlpo+jkrWRWCBup2pXuor0rfA9Vc4kpHLsjV+jy4w17b/E6K7lhvcOjCvT5k=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
okay so I'm trying to use the .Mainloop() and am getting an error.
[error]
GameLoop instance has no attribute 'MainLoop'
[/error]
and the code is
[code]
if __name__ == "__main__":
gameloop = GameLoop()
gameloop.Mainloop()
[/code]
is the Mainloop() just a myth or does it really work? do I need to import a certain function or something?
thanks in advance,
-Eric