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?
>
Windows XP
Python 2.6.4
Pygame 1.9.1
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
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
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
>
> 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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo