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

Re: [pygame] the game.Mainloop() myth



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
>