Re: [pygame] Dark Gates - pygame game on Steam.

2015-02-05 Thread David Muffley
Is there any chance you would make an older version of the code available for free download? From a couple years ago, even. David On Thu, Feb 5, 2015 at 12:45 PM, diliup gabadamudalige wrote: > Hi what is the procedure you followed to get your game on steam? Can you > give me some tips? >

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread David Muffley
Windows XP Python 2.6.4 Pygame 1.9.1

Re: [pygame] pygame.image.save(...)

2010-04-27 Thread David Muffley
My first instinct is that the first several frames' data is sent to your hard drive, where it's cached to be written, which fills up faster than it's depleted since the file size per second is higher than your disk can handle writing it. I had this issue myself trying to do something similar. If

Re: [pygame] Another blitting surface to itself crash

2008-08-05 Thread David Muffley
the top of your file? > > import os > os.environ['SDL_VIDEODRIVER'] ='directx' > > > cheers, > > > > On Tue, Aug 5, 2008 at 5:37 PM, David Muffley <[EMAIL PROTECTED]> > wrote: > > With the default SDL.dll from 1.8.1 on Windows 2000sp4 with

Re: [pygame] Another blitting surface to itself crash

2008-08-05 Thread David Muffley
With the default SDL.dll from 1.8.1 on Windows 2000sp4 with Python 2.5 import pygame a = pygame.Surface((10,10)) a.blit(a, (0, 0)) # CRASHES ## a.blit(a, (1, 0)) # CRASHES ## a.blit(a, (0, 0), (0,0,9,9)) # CRASHES ## a.blit(a, (0, 0), (1,1,9,9)) # SUCCEEDS ## On Mon, Aug 4, 2008 at 10:39 P

Re: [pygame] BUG: segfault when blitting surface to itself

2008-04-11 Thread David Muffley
> > Is there some case where blitting a surface on itself might be desired > or necessary? If not, I'll add a simple check that tests the passed > surface on equality and let blit() throw an exception, if both are the > same. > > Regards > Marcus For scrolling (topdown RPG, in my case), I use a s

Re: [pygame] Why does my ball vibrate?

2007-12-03 Thread David Muffley
On Dec 4, 2007 12:45 AM, Greg Ewing <[EMAIL PROTECTED]> wrote: > To do this calculation properly you'd need to use the > appropriate relativistic formulas. No doubt you could > get enough kinetic energy if the object was moving at > a speed close enough to c, but the more likely result > would be

Re: [pygame] Break outside the loop

2007-11-14 Thread David Muffley
On Nov 14, 2007 9:52 PM, Joseph king <[EMAIL PROTECTED]> wrote: > I keep getting a ***'break' outside the loop error on this code can anyone > help > > > for y in range(8): > for x in range(8): > c = Canvas() > c.grid(column=x, row=y) ># make a grid > grid = Grid(c, cell

Re: [pygame] Quick question from newbie

2007-11-02 Thread David Muffley
On 11/1/07, Michael George <[EMAIL PROTECTED]> wrote: > > > > Like has been said here before, use something like: > > > > if i <= 9 and i >= 1: > > > ...and python is cool enough that you can just write > > if 1 <= i <= 9: > > and it does the right thing. > > --Mike > If I recall correctly, the sy

Re: [pygame] rc 3. please test windows installer.

2006-12-25 Thread David Muffley
As with Willem, .png's are still throwing the pygame error with "Unsupported imgae format" .jpg files, are giving a whole new error now though. a=pygame.image.load('left.jpg') Traceback (most recent call last): File "", line 1, in ? a=pygame.image.load('left.jpg') error: Failed loading jpe

Re: [pygame] Pygame 1.8 - PNG is an unsupported image format

2006-12-24 Thread David Muffley
I'm having the same problem. Anything I do with a .png file throws an error. When trying to load a .png picture I get a pygame error saying .png is an unsupported format: a = pygame.image.load('mine.png') Traceback (most recent call last): File "", line 1, in ? a = pygame.image.load('mine

Re: [pygame] Checking For Pygame

2006-10-14 Thread David Muffley
The somewhat simple solution I would think would be: >>> if 'pygame' in dir()I suppose this would assume that the proper pygame module is being imported, and that somewhere it doesn't say >>> pygame = None or something of that sort.  But if you trust/know 100% of the code that pygame is only define

Re: [pygame] weird refresh error

2006-09-06 Thread David Muffley
pygame.event.pump() has fixed this problem for me in the past.  If you'd rather, pygame.event.wait() does the job as well, and I *think* pygame.event.get() does too.On 9/6/06, altern <[EMAIL PROTECTED]> wrote: Richard Jones escribió:> On Wednesday 06 September 2006 20:12, altern wrote:>> is it pyga

Re: [pygame] IDLE crashes on error?

2006-08-12 Thread David Muffley
On 8/11/06, Bob Ippolito <[EMAIL PROTECTED]> wrote: On Aug 11, 2006, at 3:38 PM, James Hofmann wrote:> --- [EMAIL PROTECTED] wrote:>>> Hi folks, Python/Pygame newbie here. Really liking it so far, >> but I've resorted to>> using Notepad. It seems like any time I execute code>> with errors in it

[pygame] Thread issue in my graphics API (pygame)

2006-07-27 Thread David Muffley
Link to the mentioned file: http://dc.ubuntu-us.org/projects/gasp/My system: ubuntu-dapper (2.6.1).  Line 325 is where the _event_handler is and I believe causes the issue.  I can recreate the bug quite easily by calling the 'begin_end()' method and letting it run until it breaks (2-7 seconds mostl