On Oct 10, 11:57 pm, duckblue <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've followed the tutuorials and I've made a menu class and game
> class. Both work independently, but I don't know how to go from
> showing the menu to playing the game.

Hi. You could have some simple if/then blocks in the on_draw function,
that with the help of some global variable directed the display to the
menu functions or your in-game draw function.

I don't know if it is the best way, but seems simple to me and should
work.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to