Re: [pygame] Only first call to Sound.play() is working

2018-04-19 Thread Pablo Moleri
Hi there, You probably need to flush events. Pygame needs to run an event loop, otherwise the event queue gets clogged. See: https://stackoverflow.com/a/13653825/488012 Regards, Pablo El vie., 20 abr. 2018 0:58, Avi Yaar escribió: > Hello, > > Sorry for the potentially silly question, but I ha

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-13 Thread Pablo Moleri
Pablo Moleri / Uruguay On Fri, Nov 13, 2009 at 9:44 AM, Stuart Axon > wrote: > Hi, > Stuart Axon - England / Britain / UK. (Some sports seem to do UK > or GB, others have seperate teams for England/Scotland/Wales) > > S++ > > 2009/11/13 John Eriksson : > > H

Re: [pygame] Standard methodology for different game screens

2009-09-21 Thread Pablo Moleri
the game. the call >> to menu.show_menu() and gameplay.mainloop() returns an integer 1,2 or 3, >> wich changes to the next stage. Every class do it's own event handling, >> updating, drawing etc. >> >> Well, until now it worked fine to me. Good luck Pablo! &g

Re: [pygame] Standard methodology for different game screens

2009-09-19 Thread Pablo Moleri
f and event handling and the pygame loop just uses > the current scene. > > --- On Sat, 9/19/09, Pablo Moleri wrote: > > > From: Pablo Moleri > > Subject: [pygame] Standard methodology for different game screens > > To: pygame-users@seul.org > > Date: Saturday, Sep

[pygame] Standard methodology for different game screens

2009-09-19 Thread Pablo Moleri
Hello, I'm going through a game codewritten 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 diff