Hi,
I like eric4: http://eric-ide.python-projects.org/
You will also need to install some other libraries like Qt and PyQt4 but they
are all free.
yours
//Lorenz
On Tue, 06 Oct 2009 20:04:43 -0400, pierrelafran...@sympatico.ca
pierrelafran...@sympatico.ca wrote:
Hi
I have administrator
On Fri, Oct 2, 2009 at 12:20 PM, Greg Ewing greg.ew...@canterbury.ac.nz wrote:
James Paige wrote:
So by that measure, average human eyes should not be able to tell the
difference between RGB888 and RGB101010
There could conceivably be an advantage in terms of
dynamic range to using more
On Tue, Oct 6, 2009 at 7:43 PM, Ian Mallett geometr...@gmail.com wrote:
The issue is that in the case of depth, data is of length x*y. In the case
of RGB color, it is 3*rect[2]*rect[3]. In the case of RGBA, it is
4*rect[2]*rect[3]. PyGame doesn't know how to convert it (there's no
hi,
I guess you could try converting it into an 8bit surface, and then saving
that.
You could do it with surf array fairly quickly I think...
something like:
red = rgb_im[:,:,0:1]
surf_red = pygame.image.fromstring(red, size, 'P')
pygame.image.save(surf_red, red.png)
You might need
hi,
a new SDL release is coming very shortly. So if you've got bugs/patches
that need to make it in, please send them through.
It's likely this will be one of the last 1.2.x releases.
cu,
-- Forwarded message --
From: Sam Lantinga ...
Here is the PRE-RELEASE version of SDL
hi,
... and same for the SDL_image SDL_mixer and SDL_ttf libraries.
-- Forwarded message --
From: Sam Lantinga ...
Date: Wed, Oct 7, 2009 at 9:45 AM
Subject: [SDL] SDL_image, SDL_mixer, SDL_ttf PRE-RELEASE!
To: s...@libsdl.org
Please thoroughly test these PRE-RELEASE
Hi:
I have a problem capturing K_SPACE keydown events with pygame.
The code is:
dirty test code
def OnEvent(self, event):
if event.type == pygame.QUIT:
self._running = False
else:
self.container.objects[0].doEvent(event)
more dirty test
I enjoyed SPE when I used it.
http://sourceforge.net/projects/spe/
I just use gVim when I'm on Windows now, though.
On Wed, Oct 7, 2009 at 12:14 AM, d...@amberfisharts.com wrote:
Hi,
I like eric4: http://eric-ide.python-projects.org/
You will also need to install some other libraries like
I was wondering how one could do walking animations with sprites in pygame.
I know that it has been done before, and it probably involves utilizing the
key.pressed function in the Vector2 module, where when you press a key the
command retrieves a series of images for the sprite based on certain
http://www.sjbaker.org/wiki/index.php?title=Keyboards_Are_Evil
~DR0ID
inigo delgado schrieb:
Hi:
I have a problem capturing K_SPACE keydown events with pygame.
The code is:
dirty test code
def OnEvent(self, event):
if event.type == pygame.QUIT:
On Wed, 7 Oct 2009 15:27:08 -0500, Guy Anderson guy.a.ander...@gmail.com
wrote:
I was wondering how one could do walking animations with sprites in
pygame.
I know that it has been done before, and it probably involves utilizing
the
key.pressed function in the Vector2 module, where when you
David Gowers wrote:
Where's a linear encoding? sRGB (ie. the RGB888 encoding used on 99%
of standard displays)
is encoded nonlinearly with approximately gamma 2.2.
Yes, but image processing operations often ignore that and
add RGB components together as though they were linear. You
can get
Oh, _that_ error again. I encountered that before. Some keyboards just
aren't able to register certain key combinations like Up+Left+Space. Best
way to deal with it: Just use different keys.
On Wed, 07 Oct 2009 22:34:15 +0200, DR0ID dr...@bluewin.ch wrote:
I'm just saying to comply to a standard doesn't necessarily imply you
can utilize it fully. You could have an sdhc slot without being able
to support class 6 devices at full speed. I don't necessarily know
what i'm talking about thoiugh.
On 10/1/09, pierrelafran...@sympatico.ca
You might be interested in using my InputWrapper for PyGame, though I doubt
it will solve your problem, since keyboards are evil :)
But it will help you write better organized code!
http://www.pygame.org/wiki/InputWrapper?parent=CookBook
-Thadeus
On Wed, Oct 7, 2009 at 4:12 PM, Kris Schnee
You have the right idea.
You save all of the walking frames onto a single image. Ie: 32x32 pixel
frames, with 4 frames would be 128x32.
Then when you draw your sprite, you use a source Rect() to blit one frame.
# pseudo-code
def draw():
w,h = 32, 32
# give example values for current
I like geany and / or scite. [ Scite's not an IDE, but worth mentioning. ]
On Tue, Oct 6, 2009 at 7:04 PM, pierrelafran...@sympatico.ca
pierrelafran...@sympatico.ca wrote:
Hi
I have administrator rights on a computor in a lab at work, until
tomorrow. I would like install IDE for Python.
Well, it's far too late to solve the OP's problem, but I am going to
double vote my choices of SciTE (when I need an editor for a file
fast, or just don't want to deal with an IDE, which is actually pretty
often) and netbeans which has some really killer tools. (The test
coverage and mercurial
18 matches
Mail list logo