Re: [pygame] Implementing the A* finder algoritm in a non tile-based game

2009-02-03 Thread Luca
On Sun, Feb 1, 2009 at 7:25 PM, Ian Mallett geometr...@gmail.com wrote: A huge recent thread where there were examples and discussion. http://archives.seul.org/pygame/users/Jan-2009/msg00336.html Thanks all for you answers! I hope all this will help someway! -- -- luca

[pygame] Implementing the A* finder algoritm in a non tile-based game

2009-02-01 Thread Luca
to a good documentation somewhere? Any type of suggestion is welcome! Thanks all! -- -- luca

Re: [pygame] How the get a font size

2009-01-14 Thread Luca
are right... I can do anything with the size info alone... I think that is not so good not beeing able to take those infos from the Font object, but now I see that is not so important! I will followe that path of the wrapper FakeFont class! Thank you all! -- -- luca

Re: [pygame] How the get a font size

2009-01-13 Thread Luca
? I think that this can hovewer be useful... -- -- luca

Re: [pygame] How the get a font size

2009-01-12 Thread Luca
= pygame.font.Font(, 36) Thanks all, but in this way is impossible to get the size on an unknow font? I'm making a library for developer that need to know what is the font size that the developer can have choosen... -- -- luca

[pygame] How the get a font size

2009-01-11 Thread Luca
Hi all. I'm looking at the Font class API's, but I found no way to get the size of a given font. When I create a new font like f1 = pygame.font.Font(, 12) how can I get the size value (12) after the creation? f1 DOT ??? Thanks! -- -- luca

[pygame] groups drawing optimization

2008-12-21 Thread Luca
low level procedures do this itself. What I'm thinking is to rewrite the draw method of the Group class, to skip all sprites that aren't viewable. Any comment about this? Is a useless work? -- -- luca

Re: [pygame] Problem: difference in surface alpha from pygame 1.7 and 1.8

2008-12-15 Thread Luca
On Mon, Dec 15, 2008 at 12:36 AM, René Dudfield ren...@gmail.com wrote: hi, There were some bugs with 1.7.x with some surface arguments. Thanks for replying, but I found more natural the old 1.7 behaviour... Now seems that the set_alpha is ignored... It's strange. -- -- luca

[pygame] Problem: difference in surface alpha from pygame 1.7 and 1.8

2008-12-14 Thread Luca
is dropped from the fill color? -- -- luca

Re: [pygame] Problem: difference in surface alpha from pygame 1.7 and 1.8

2008-12-14 Thread Luca
On Sun, Dec 14, 2008 at 12:49 PM, Luca luca...@gmail.com wrote: Hi all. Some weeks ago I saw that my game has some problem with pygame 1.8 but I was using pygame 1.7. Today I installed 1.8 too and I found the problem. In my current approach I draw sometimes transparent surfaces with a fill

[pygame] Getting a wind32 executable (py2exe) problem

2008-11-16 Thread Luca
? -- -- luca

Re: [pygame] Getting a wind32 executable (py2exe) problem

2008-11-16 Thread Luca
On Sun, Nov 16, 2008 at 12:50 PM, Luca [EMAIL PROTECTED] wrote: Hi all! I'm trying for the first time to get a window executable for my game. I trying starting from a very old file found into the pygame ftp section (but I think this is too old) and after that I tryed the pymike PySetup.py

Re: [pygame] Window position

2008-11-01 Thread Luca
On Sat, Nov 1, 2008 at 9:46 PM, Ian Mallett [EMAIL PROTECTED] wrote: Hi, Call this: import os os.environ['SDL_VIDEO_CENTERED'] = '1' before pygame stuff. Cheers, Ian Thanks very much! But where I could find those type of undocumented infos? -- -- luca

Re: [pygame] Transparency and pygame.draw

2008-08-19 Thread Luca
On Tue, Aug 19, 2008 at 6:08 AM, Forrest Voight [EMAIL PROTECTED] wrote: I might have written the patch he was talking about... It's attached. Thanks! -- -- luca

Re: [pygame] Transparency and pygame.draw

2008-08-18 Thread Luca
, 2008 at 11:38 AM, Noah Kantrowitz [EMAIL PROTECTED] wrote: No, but someone made bindings for SDL_gfx which does allow for this (and a lot more). Check the list archives. --Noah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luca Sent: Monday

Re: [pygame] Pygame 1.8.x on latest kubuntu/ubuntu

2008-08-17 Thread Luca
On Sun, Aug 17, 2008 at 3:21 PM, Richie Ward [EMAIL PROTECTED] wrote: Try upgrading to the latest version of ubuntu. Run this in terminal sudo update-manager -c Click check and see if it says a distribution upgrade is available. Thanks... and for Kubuntu? :-) -- -- luca

[pygame] Pygame 1.8.x on latest kubuntu/ubuntu

2008-08-16 Thread Luca
Hi all. Anyone is trying to use pygame 1.8 version from the debian/apt on ubuntu/kubuntu? The download page of pygame.org say that ubuntu support 1.8. I've already all universe repository in my sources.list, but my local version on pygame is still the 1.7.1. Thanks! -- -- luca

[pygame] Diffefrences between sprite.Group and sprite.RenderUpdates (and Group.draw question)

2008-05-04 Thread Luca
developing. The call of all.draw (where all is for now a RenderUpdates instance) draw sprites on the screen in some order. There is a way to control the order of sprites drawed on screen? I like to blit images ordered on Y position on the screen. Any help will be really appreciated! -- -- luca

Re: [pygame] Collision Resolver module

2008-05-03 Thread Luca
On Mon, Dec 31, 2007 at 10:20 AM, [EMAIL PROTECTED] wrote: Hi all. Here's a collision resolver module I've been working on. Don't you have a reference web page for this useful piece of code? -- -- luca

[pygame] Get a transparent Surface

2008-04-24 Thread Luca
I must create a surface, then fill a transparent color on it... Is this the right way? -- -- luca

Re: [pygame] Collision Resolver module

2008-01-01 Thread Luca
On Jan 1, 2008 7:49 PM, [EMAIL PROTECTED] wrote: Pygame should aspire to providing a very rich (while being consistent, lean, and elegant) set of tools. I'm not a smart pygame user yet so my opinion can be very poor, but what I quoted here is true, and important. This is true for all engine

Re: [pygame] PATCH: Python 2.5 support

2007-05-14 Thread Luca
Just for asking... when a new pygame release with Python 2.5 support will be released? I'm using Python 2.5 and I can't install the 2.4... On 5/13/07, John Myers [EMAIL PROTECTED] wrote: ack! another reply to myself... I just now noticed the other very similar patch... my patch is somewhat