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 dili...@gmail.com
wrote:
Hi what is the procedure you followed to get your game on steam? Can you
give
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
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 Python 2.5
import pygame
a = pygame.Surface((10,10))
a.blit(a, (0, 0)) # CRASHES ##
a.blit(a, (1, 0
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 surface
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, cellsize_x=8,
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 pyshell#5, line 1, in ?
a=pygame.image.load('left.jpg')
error: Failed
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 pyshell#7, line 1, in ?
a =
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 defined with
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
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 -- simple
12 matches
Mail list logo