Re: [pygame] Pygame Subset for Android 0.9.3 Released

2011-05-08 Thread stas zytkiewicz
On Mon, May 2, 2011 at 1:47 AM, Tom Rothamel t...@rothamel.us wrote: We've released version 0.9.3 of the Pygame Subset for Android to:     http://pygame.renpy.org/ as well as the Android Market. This new release adds the following features: * Python has been upgraded to version 2.7.1. *

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
On Wed, Apr 27, 2011 at 10:42 AM, Nathan BIAGINI nathan.o...@gmail.com wrote: Hi everyone, i currently using a Debian squeeze and i would like to run some application i have written before but it seems that the font module is not found. Hi, I'm running squeeze also and it's my experience that

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
(resolution) pygame.error: DirectFBCreate: Initialization error! 2011/4/27 stas zytkiewicz stas.zytkiew...@gmail.com On Wed, Apr 27, 2011 at 10:42 AM, Nathan BIAGINI nathan.o...@gmail.com wrote: Hi everyone, i currently using a Debian squeeze and i would like to run some application i

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
  SDL bindings for games development in Python and when i try to run a program using font with 'python fonty.py' (python is in 2.6.6 version), it returns that font is missing... 2011/4/27 stas zytkiewicz stas.zytkiew...@gmail.com On Wed, Apr 27, 2011 at 11:37 AM, Nathan

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
Traceback (most recent call last):   File stdin, line 1, in module ImportError: No module named font It seems to be pretty similar about python. 2011/4/27 stas zytkiewicz stas.zytkiew...@gmail.com Here's my session in Debian squeeze: stas@EXT-Workstation:~$ python Python 2.6.6 (r266:84292

Re: [pygame] The font module

2011-04-27 Thread stas zytkiewicz
: found JPEG    : found SCRAP   : found Warning, some of the pygame dependencies were not found. Pygame can still compile and install, but games that depend on those missing dependencies 2011/4/27 stas zytkiewicz stas.zytkiew...@gmail.com On Wed, Apr 27, 2011 at 1:00 PM, Nathan BIAGINI

Re: [pygame] freetype module

2011-01-13 Thread stas zytkiewicz
that it would be a bad idea. Regards, Stas Zytkiewicz -- Free-source educational programs for schools http://www.schoolsplay.org  and http://wiki.laptop.org/go/Schoolsplay http://gvr.sf.net and http://wiki.laptop.org/go/Guido_van_Robot

Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-07 Thread stas zytkiewicz
On Fri, Jan 7, 2011 at 10:40 PM, Tom Rothamel t...@rothamel.us wrote: On Thu, Jan 6, 2011 at 1:35 PM, stas zytkiewicz stas.zytkiew...@gmail.com wrote: The python module Configparser isn't included, is it possible to include it ? I haven't figured out which parts of the standard library

Re: [pygame] Pygame Subset for Android 0.9.1

2011-01-06 Thread stas zytkiewicz
for code samples and examples ? I suspect we run into problems that would have some common solutions and it would be nice to post them somewhere. The python module Configparser isn't included, is it possible to include it ? Is there support for the android sqlite dbase ? Regards, Stas Zytkiewicz

Re: [pygame] Re: Pygame for Android

2010-12-15 Thread stas zytkiewicz
On Wed, Dec 15, 2010 at 12:23 AM, Tom Rothamel t...@rothamel.us wrote: I've released a new version (0.9) of the Pygame Subset for Android, Great thanks. [..] - It works in the emulator, as well as anything works in the emulator (that is, slowly). While it's still better to test on an actual

Re: [pygame] Pygame for Android

2010-12-07 Thread stas zytkiewicz
On Mon, Dec 6, 2010 at 5:39 AM, Tom Rothamel t...@rothamel.us wrote: Again, this hasn't been tested on may devices - so feedback is encouraged. I'll try to get the full source code up shortly. I've tried it on the android emulator, 2.1-update1 API level 7 but it crashes hard:

Re: [pygame] Pygame for Android

2010-12-06 Thread stas zytkiewicz
On Mon, Dec 6, 2010 at 4:49 PM, Stuart Axon stu.axon+pyg...@gmail.com wrote: On 6 December 2010 04:39, Tom Rothamel t...@rothamel.us wrote: For the past month or so, I've been porting Ren'Py to the Android platform. A few days ago, I had the first success. This required porting Python and

[pygame] Whatever happend to movieext ?

2010-08-02 Thread stas zytkiewicz
Hi, I'm battling the pygame.movie object (parachute, segfaults etc) and I was wondering what happend to the movieext module. I seem to remember that it was part of pygame some time ago but I can't find it. Thanks, Stas -- Free-source educational programs for schools http://www.schoolsplay.org 

Re: [pygame] Whatever happend to movieext ?

2010-08-02 Thread stas zytkiewicz
thought it was part of pygame some time ago and was wondering if it was removed or if it's just hard to find. Stas Lenard Lindstrom On 02/08/2010 7:37 AM, stas zytkiewicz wrote: Hi, I'm battling the pygame.movie object (parachute, segfaults etc) and I was wondering what happend to the movieext

Re: [pygame] Re: Sprite Surface very slow to draw

2010-07-20 Thread stas zytkiewicz
On Tue, Jul 20, 2010 at 10:39 AM, SurferIX olivier.p...@gmail.com wrote: If found the solution! The problem is that the documentation needs examples (or maybe I didn't find good ones): You should look at the pygame reference doc: http://www.pygame.org/docs/ref/index.html I was using:  40    

[pygame] using pil to covert rgb into grayscale

2010-04-29 Thread stas zytkiewicz
Hello, I'm trying to convert a RGB image into a grayscaled image using PIL but pygame keeps throwing this error: ValueError: Buffer length does not equal format and resolution size Why this code doesn't work, I have no idea :-( ('surf' is a pygame.Surface) pilimg = Image.fromstring('RGBA',

Re: [pygame] using pil to covert rgb into grayscale

2010-04-29 Thread stas zytkiewicz
On Thu, Apr 29, 2010 at 5:36 PM, Casey Duncan ca...@pandora.com wrote: If you are going to roll your own, at least use the standard luminance calculation: L = 0.3 * red + 0.59 * green + 0.11 * blue hth, Thanks for the quick reply guys. I combined your answers and it works perfectly :-)

[pygame] Blitting image with alpha channel on a transparent background

2010-04-22 Thread stas zytkiewicz
Hello, I hope that someone can point me in the right direction. I have a semi transparent background surface created with set_alpha(100). On this surface I want to blit an png image which has a alpha channel. The problem is that when I blit the png image surface to the background surface the png

Re: [pygame] Blitting image with alpha channel on a transparent background

2010-04-22 Thread stas zytkiewicz
On Thu, Apr 22, 2010 at 6:56 PM, Lee Buckingham lee.bucking...@gmail.com wrote: As far as the alpha goes, my guess is that you're getting hung up because you've mixed two different alpha modes.  There's some caveats about using per-pixel alpha (like the .png file probably has) and the other

Re: [pygame] Blitting image with alpha channel on a transparent background

2010-04-22 Thread stas zytkiewicz
On Fri, Apr 23, 2010 at 2:59 AM, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Lee Buckingham wrote: Instead of using set_alpha(), try using a fill, like:  backgroundsurface.fill((0,0,0,100)) Note that you will also have to create the background surface with the SRCALPHA flag, so that it