[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] the game.Mainloop() myth
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] the game.Mainloop() myth
- From: "Brian Fisher" <brian@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Oct 2007 09:12:42 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 25 Oct 2007 12:12:51 -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:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=5r3Lv1hdp+vce7CGLi0FLglF/44gRq4baM5qYe8SUyU=; b=sJ6k0hdqYo54VF8QX/oCjnSr+jPxUTHKj/uHtwk8YJcvi9kqHCPFNZiYo9cThkbUrASCrJ8l7dx3YfmaFCU/RT1/BYsgJ/cLfTun8s6QX3DtmqWtgb4G8Terph6cjZsmRVZiYQqRXOFQbDpV4t5K7gc7ReEEz/vnSLsz7isI1M4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tmXWzPmFTKVu+zQy6m4NxB4dNnDpQHfLJ4ikECIvRtZoJ8tDCHwf1l+6uYV5EQbs0T/Tr40EL59hS/xHcF/NgSxy57zrMTrkCUujm8i2xKSyNABnUc5F5Eyc/nxvXqg1KtDyeIfMoL/ibsSt7j5R635grLWb5OIp6SBzPMjIjTo=
- In-reply-to: <3125958d0710242125y14ee8ca3j26e128252c69c332@xxxxxxxxxxxxxx>
- References: <3125958d0710242125y14ee8ca3j26e128252c69c332@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Where did you find the class "GameLoop"? I haven't heard of it being
part of pygame, and don't see anything in the docs about it. are you
sure you emailed the right list?
On 10/24/07, Eric Hunter <hunter.eric1@xxxxxxxxx> wrote:
> 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
>