Re: [pygame] Re: Starting the pygame 2 series

2020-10-28 Thread claudio canepa
Congratulations all off pygame team & contributors!! On Wed, Oct 28, 2020 at 3:10 PM René Dudfield wrote: > > ,--. > | oo| > | ~~| o o o o o o o o o o o o o > |/\/\| >python3 -m pip install pygame==2.0.0 > > The 28th of October 2020 is the pygame

Re: [pygame] Current working version of Python and pygame

2020-10-23 Thread claudio canepa
> Question 1: If someone already has installed Python but did not check this box on, is there some simple command line magic to do whatever this checkbox does? If so, what do I need to tell my student to do? With a python 3.X installed they need replace 'python' by 'py -3.X' in the cmdline.

Re: [pygame] toggle between play pause and unpause

2017-05-07 Thread claudio canepa
watch your logic, unpause never executes (except in the rare cases when the calls to get_busy gets a different response) On Sun, May 7, 2017 at 2:34 PM, toufik wrote: > Hello. > This is my first e-mail in this mailling list. > I've a project using python 2.7 and pygame.

Re: [pygame] NO MOVIE module in Pygame??

2017-04-08 Thread claudio canepa
Daniel Gillet is writing a new, python only, direct binding to ffmpeg for pyglet [0]. >From that thread, seems promising. Don't know how hard would be to use with pygame. [0] https://groups.google.com/forum/#!topic/pyglet-users/u1OTO2aYFLo On Sat, Apr 8, 2017 at 10:09 AM, Jason Marshall

Re: [pygame] New pygame.org website

2016-12-22 Thread claudio canepa
@Miriam: all the examples you gave points to the hosting domain ( ibiblio.org ); we want pygame.org or similar with a hosting that allows DNS redirection from pygame.org to the content. That way, if at some future time we want to migrate or add a non-static part all that is needed is to change the

Re: [pygame] Update on Pygame builds

2014-12-16 Thread claudio canepa
Great ! and thanks for all the work On Wed, Dec 17, 2014 at 12:00 AM, Paul Vincent Craven p...@cravenfamily.com wrote: I spent the today continuing to work on builds and packaging. - I can get pygame to build on Linux and push to PyPi Test server successfully. - I can get it to

Re: [pygame] New 32 bit Pygame installer for Python 3.3 on Windows

2013-10-04 Thread claudio canepa
Thanks ! On Fri, Oct 4, 2013 at 3:10 PM, Lenard Lindstrom le...@telus.net wrote: Updated Pygame 1.9.2a0 installer for Python 3.3 at https://bitbucket.org/pygame/**pygame/downloadshttps://bitbucket.org/pygame/pygame/downloads . md5 stuff: 60ee67037b7e9ffeca88425d8712fd**de

Re: [pygame] SDL 2.0

2013-08-13 Thread claudio canepa
On Tue, Aug 13, 2013 at 5:37 AM, René Dudfield ren...@gmail.com wrote: Happy days... SDL 2.0 is released! http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-August/089854.html Wohoo!!!

Re: [pygame] Joystick

2012-11-22 Thread claudio canepa
On Fri, Nov 23, 2012 at 12:10 AM, Stephen Smitherman srsmither...@gmail.com wrote: Good Day, Does anyone know what I can do to work on this project? I have been able to successfully write a script to use the Playstation 3 controller via bluetooth on a Mac implementing pygame.Joystick. I am

Re: [pygame] Sclatron for python

2012-07-11 Thread claudio canepa
with the people behind that software, you can try IRC irc.freenode.net , channel #pyar. That is a general python channel, but the spacecraft people can be found there, usually 13 to 20 UTC claudio -- On Jul 10, 2012, at 9:56 PM, claudio canepa wrote: On Tue, Jul 10, 2012 at 10:38 PM, Zachary

Re: [pygame] Sclatron for python

2012-07-10 Thread claudio canepa
On Tue, Jul 10, 2012 at 10:38 PM, Zachary Baker zbaker1...@gmail.comwrote: Hi, I am an intermediate python develpor and recently heard of scalatronhttp://scalatron.github.com/. I think this is AWESOME!! I have been looking for something like this for python for awhile, as i dont really want

Re: [pygame] Issue with pygame.mask

2012-05-14 Thread claudio canepa
On Mon, May 14, 2012 at 8:24 PM, Greg Ewing greg.ew...@canterbury.ac.nzwrote: Peter Finlayson wrote: Regardless, since there is code out in the wild that probably depends on this behaviour it is probably best to just note the quirk in the documentation. There's still a problem at the

Re: [pygame] Hot Pink

2012-01-18 Thread claudio canepa
On Wed, Jan 18, 2012 at 2:30 PM, Lenard Lindstrom le...@telus.net wrote: I like the new color scheme at pygame.org. I think I will add it as an alternative theme for the Pygame docs. Lenard My Eyes! The goggles do nothing! :-) -- claxo

Re: transition plan was Re: [pygame] contemplating move to bitbucket(and hg). what do you think?

2011-08-17 Thread claudio canepa
On Wed, Aug 17, 2011 at 11:17 AM, René Dudfield ren...@gmail.com wrote: Hi, I've converted the repository over to bitbucket: https://bitbucket.org/pygame/pygame/ [...] wow, thats moving fast !!

Re: [pygame] Segmentation fault through taskbar minimization/restoration

2011-08-17 Thread claudio canepa
On Wed, Aug 17, 2011 at 4:49 PM, René Dudfield ren...@gmail.com wrote: Hi, Anyone else on XP able to reproduce this? I tried it on vista, and it's ok. tried with the included pygame demos: chimp.py liquid.py scroll.py from slow clicking the icon to clicking as fast as I can;

Re: transition plan was Re: [pygame] contemplating move to bitbucket(and hg). what do you think?

2011-08-06 Thread claudio canepa
On Sat, Aug 6, 2011 at 6:40 AM, René Dudfield ren...@gmail.com wrote: On Thu, Aug 4, 2011 at 6:44 PM, claudio canepa ccanep...@gmail.comwrote: On Thu, Aug 4, 2011 at 1:05 PM, René Dudfield ren...@gmail.com wrote: Hi, I've started on a migration plan for bitbucket. If anyone has any

Re: transition plan was Re: [pygame] contemplating move to bitbucket(and hg). what do you think?

2011-08-04 Thread claudio canepa
On Thu, Aug 4, 2011 at 1:05 PM, René Dudfield ren...@gmail.com wrote: Hi, I've started on a migration plan for bitbucket. If anyone has any feedback, please let me know :) About issues: A problem I have seen in other migrations was : issues text refers to some svn version, say r1054

[pygame] nofollow cheated in pygame site ?

2011-04-03 Thread claudio canepa
Look at the last editions by 'alice thomas', on April 3, by example in http://www.pygame.org/wiki/info?action=viewid=4890 Seems that it cheated the 'nofollow' thingy. a rel=follow href=... While follow has no sense, and probably be ignored, the links miss the nofollow dissuader -- claudio

[pygame] spam on pygame site

2011-03-28 Thread claudio canepa
A new wave of spam in the site. And this time some seems more insidious: look at http://www.pygame.org/wiki/CookBook and try to edit-out the spam at the top of the page: the spam text don't show in the editor. -- claudio

[pygame] Re: spam on pygame site

2011-03-28 Thread claudio canepa
On Mon, Mar 28, 2011 at 1:03 PM, claudio canepa ccanep...@gmail.com wrote: A new wave of spam in the site. And this time some seems more insidious: look at http://www.pygame.org/wiki/CookBook and try to edit-out the spam at the top of the page: the spam text don't show in the editor

Re: [pygame] Re: spam on pygame site

2011-03-28 Thread claudio canepa
On Mon, Mar 28, 2011 at 1:50 PM, René Dudfield ren...@gmail.com wrote: The people spamming now are idiots because all the links get rel=nofollow added so they get negative SEO for their links. But they keep coming like the hordes from hell. I have seen some links as: a rel=dofollow

Re: [pygame] Experimental, Classic Look, sphinx generated XHTML docs for Pygame 1.9.2a

2011-03-22 Thread claudio canepa
On Tue, Mar 22, 2011 at 6:39 PM, Lenard Lindstrom le...@telus.net wrote: Hi everyone, I have been playing with porting the Pygame document to Sphinx. Feedback suggested the current document format was preferred. Here is a first attempt at reproducing that theme with Sphinx.

Re: [pygame] Experimental, Classic Look, sphinx generated XHTML docs for Pygame 1.9.2a

2011-03-22 Thread claudio canepa
On Tue, Mar 22, 2011 at 11:31 PM, claudio canepa ccanep...@gmail.comwrote: The only misbehavoir I spotted in comparison with 1.9.1 docs, is an ASCII draw in pygame.mask.overlap which renders bad. All three browsers show the same defect, see the snapshots taken with FF sorry, here links

Re: [pygame] (pyopengl) GLSL fragment shader with arrays uniform cause sporadic screen blinking

2011-02-11 Thread claudio canepa
On Fri, Feb 11, 2011 at 3:37 PM, amdlintuxo amdlintu...@gmail.com wrote: Full code is here: http://bpaste.net/show/13615/ Could some one test the full code or provide the idea what can cause sporadic screen blinking. Looking forwards for you support, i have nothing left to try to resolve

Re: [pygame] (pyopengl) GLSL fragment shader with arrays uniform cause sporadic screen blinking

2011-02-11 Thread claudio canepa
On Fri, Feb 11, 2011 at 5:01 PM, claudio canepa ccanep...@gmail.com wrote: On Fri, Feb 11, 2011 at 3:37 PM, amdlintuxo amdlintu...@gmail.com wrote: Full code is here: http://bpaste.net/show/13615/ Could some one test the full code or provide the idea what can cause sporadic screen

Re: [pygame] blit image

2010-12-01 Thread claudio canepa
On Wed, Dec 1, 2010 at 6:10 PM, Nathan BIAGINI nathan.o...@gmail.comwrote: Hi everyone, i currently have a really weird problem. I want to blit a background image on my screen. It s a really simple operation and i ve done it so many times in this case, the image only appear when i move the

Re: [pygame] moving a box diagnally

2010-09-19 Thread claudio canepa
On Sun, Sep 19, 2010 at 5:08 AM, kevin hayes kevino...@gmail.com wrote: Hi, I'm just beginning to learn python and pygame. I've gone through the first four chapters of Game Programming, The L-line, the Express Line to Learning. Right now I'm working on an exercise that asks me to make a box

Re: [pygame] Problem with mouse going back to the center of the screen

2010-07-20 Thread claudio canepa
On Tue, Jul 20, 2010 at 6:32 PM, SurferIX olivier.p...@gmail.com wrote: Hi! I've got a problem with the mouse: it's going back to the center of the screen! I don't know where it could come from because it does this only in full screen. It's exactly the same problem with the game Enigma.

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread claudio canepa
Windows Version: Windows XP Pygame Version: 1.9.1 and 1.8.1 and 1.7.1 Python Version: 2.4 and 2.6 (I have both installed) Reason : 2.4 for some old libs, pygame old versions for compatibility checks and run the ocasional gamae that wont work in newer -- claxo

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-27 Thread claudio canepa
On Tue, Apr 27, 2010 at 10:13 PM, Julian Marchant onp...@gmail.com wrote: The pygame download page's message that python 2.5 is the best for Windows probably made him think that Pygame was for Python 2.5. That was a very old sugestion. I run pygame with python 2.6, and a lot of people in the

Re: [pygame] sprite module optimizations have been uploaded

2010-04-17 Thread claudio canepa
On Sat, Apr 17, 2010 at 2:51 PM, Jason M. Marshall j...@yahoo.com wrote: I finished making optimizations to the sprite module. The new sprite.py has been uploaded to the Subversion repository. I am pleased to announce that on my Mac with Python 2.5, sprite_test.py now runs in 0.038 seconds

Re: [pygame] Bug: Python crash after switch to directx fullscreen quit

2009-12-09 Thread claudio canepa
On Wed, Dec 9, 2009 at 10:28 PM, Jason M. Marshall j...@yahoo.com wrote: Hello pygame core developers, Attached to this e-mail is my tool for rapidly trying different display configurations. I use it to determine which display settings are optimal for a given platform. I've found that when

Re: [pygame] Bug: Python crash after switch to directx fullscreen quit

2009-12-09 Thread claudio canepa
On Wed, Dec 9, 2009 at 11:29 PM, claudio canepa ccanep...@gmail.com wrote: My system does the same. Unhandled Exception in python.exe (SDL.exe) 0xC005 : Access Violation. Even If I add the as last line for your script pygame.quit() windows xp sp3 nvidia gforce 6200 python 2.6

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-12 Thread claudio canepa
Claudio Canepa , from Argentina good programing ! -- claudio On Thu, Nov 12, 2009 at 9:19 AM, John Eriksson j...@arainyday.se wrote: Hi fellow pygame developers! I'm developing a sports game. It's a fictive sport played one-on-one, on ice against another human player or against a rather

Re: [pygame] Memory leak...

2009-10-14 Thread claudio canepa
On Wed, Oct 14, 2009 at 2:59 PM, RB[0] roeb...@gmail.com wrote: I am getting a nasty mem leak when using pygame.image.tostring As shown here: import pygame from pygame.locals import * pygame.display.set_mode((100,100)) while 1:

Re: [pygame] 3rd Pyggy Awards Open

2009-09-21 Thread claudio canepa
On Mon, Sep 21, 2009 at 11:58 PM, Greg Ewing greg.ew...@canterbury.ac.nzwrote: The 3rd Pyggy Awards is now open for entries. Judging will be during the first two weeks of December. http://pyggy.pyweek.org/1009/ The Pyggy Awards is a follow-up event to the PyWeek competition, for authors

Re: [pygame] Standard methodology for different game screens

2009-09-19 Thread claudio canepa
On Sat, Sep 19, 2009 at 3:13 PM, Pablo Moleri pmol...@gmail.com wrote: Hello, I'm going through a game codehttp://dev.laptop.org/git/activities/conozco-uruguay/tree/conozco-uruguay.activity/conozcouy.pywritten in pygame, the game shows different screens: - an introduction - a menu - and

Re: [pygame] event getting corrupted

2009-09-16 Thread claudio canepa
On Wed, Sep 16, 2009 at 3:36 PM, Bo Jangeborg b...@softwave.se wrote: I have seen a troubling error for some time now. Occasionally I get a segmentation error with no indication of what went wrong. The error is not repeatable in a reliable way and I get no error trace. Repeating the error can

Re: [pygame] pygame parachute and inconsistent interned sting state - but only on Slackware 13.0 32 bit

2009-09-16 Thread claudio canepa
On Wed, Sep 16, 2009 at 3:15 PM, Peter Chant p...@petezilla.co.uk wrote: On Wednesday 16 September 2009, René Dudfield wrote: I guess the next step is to try and put print debugging in. You start by putting a few print statements in, and see where it gets up to. Then you refine until

Re: [pygame] event getting corrupted

2009-09-16 Thread claudio canepa
On Wed, Sep 16, 2009 at 5:18 PM, Bo Jangeborg b...@softwave.se wrote: a ha Well, from where comes event ? event = pyg_event.poll() but note that a long can't have attributes and 13 lines above the error point I do : mouse_pos = event.pos and it works at that time pyg_event.poll is

Re: [pygame] event getting corrupted

2009-09-16 Thread claudio canepa
On Wed, Sep 16, 2009 at 6:33 PM, Bo Jangeborg b...@softwave.se wrote: claudio canepa skrev: On Wed, Sep 16, 2009 at 5:18 PM, Bo Jangeborg b...@softwave.se mailto: b...@softwave.se wrote: a ha Well, from where comes event ? event = pyg_event.poll() but note

Re: [pygame] Picking monitor...

2009-08-28 Thread claudio canepa
On Fri, Aug 28, 2009 at 12:43 PM, Gene Buckle ge...@deltasoft.com wrote: On Fri, 28 Aug 2009, James Paige wrote: On Thu, Aug 27, 2009 at 08:13:56PM -0700, Gene Buckle wrote: Is it possible to choose which display pygame uses for full screen mode? If so, how is it done? thanks! g.

Re: [pygame] ANNOUNCE: pygame 1.9.1 released.

2009-08-07 Thread claudio canepa
On Thu, Aug 6, 2009 at 9:00 PM, Paul plh...@gmail.com wrote: Just so you know, the release announcements (both for pygame 1.9.0 and 1.9.1) are automatically placed in the Spam folder by Gmail. The following message is displayed: Warning: This message may not be from whom it claims to be.

Re: [pygame] Scrolling

2009-08-03 Thread claudio canepa
On Mon, Aug 3, 2009 at 3:30 PM, Yanom Mobis ya...@rocketmail.com wrote: well i need it to work with a BIG surface at 30 fps. and i need something that would work with Rabbyt -- ** That changes all: you really are working with openGL, not standart pygame. It

Re: [pygame] Pygame 1.9.0 release candidate 3 for Python 2.6 on Windows

2009-07-09 Thread claudio canepa
On Thu, Jul 9, 2009 at 8:55 PM, René Dudfield ren...@gmail.com wrote: Hello, awesome. I'll put it up with the other rc3 stuff. typo with the link: http://www3.telus.net/len_l/pygame/pygame-1.9.0b03.win32-py2.6.msi cheers! On Fri, Jul 10, 2009 at 8:15 AM, Lenard Lindstrom

Re: [pygame] Pygame 1.9.0 release candidate 3 for Python 2.6 on Windows

2009-07-09 Thread claudio canepa
On Thu, Jul 9, 2009 at 11:48 PM, René Dudfield ren...@gmail.com wrote: ... Maybe we should use: python -m pygame.tests.main python -m pygame.examples.main A bit uglier, but it will at least work! cheers, just FYI: D:\tmpc:\python26\python.exe -m pygame.tests.main

Re: [pygame] pygweb milestone 1 released

2009-06-01 Thread claudio canepa
On Mon, Jun 1, 2009 at 6:24 AM, Marcus von Appen m...@sysfault.org wrote: pygweb 1.0 (milestone 1) was released. Testing --- You can browse http://pygameweb.no-ip.org/ to visit a current test installation of pygweb. Regards Marcus registration is supposed to be functional ? I tried,

Re: [pygame] 2nd Pyggy Awards Open

2009-05-14 Thread claudio canepa
On Thu, May 14, 2009 at 7:00 AM, Greg Ewing greg.ew...@canterbury.ac.nzwrote: The Second Pyggy Awards is now open for entries. http://pyggy.pyweek.org/1008/ Greg Great !!

Re: [pygame] [Pygame] Key Configuration

2009-05-11 Thread claudio canepa
On Mon, May 11, 2009 at 9:31 PM, Fawkes fawkesga...@gmail.com wrote: Hello again I was wondering what would be the best way to do a key configuration for my game? One of the comments from our recent release ( http://pygame.org/project/1106/ ) was that we ought to have the controls

Re: [pygame] Pgu not working in 1.8.1; is a patch available?

2009-01-15 Thread claudio canepa
Yes, look at this thread (first and last message are what you want) http://thread.gmane.org/gmane.comp.python.pygame/15580 -- claxo On Thu, Jan 15, 2009 at 3:49 AM, The Music Guy music...@alphaios.netwrote: Hi, I'm working on a game SDK (http://code.google.com/p/scrollback) and things are

Re: [pygame] New Python 2.6 stuff for Windows

2008-12-30 Thread claudio canepa
On Tue, Dec 23, 2008 at 9:14 PM, Lenard Lindstrom le...@telus.net wrote: Hi everyone, I am making available a new Pygame 1.9.0a0 (rev 1772) installer for Python 2.6 on Windows. This Pygame version uses a newer SDL and related libraries, so fixes some bugs reported for Pygame 1.8.1. Also this

Re: [pygame] sound crackle fix? update version?

2008-12-25 Thread claudio canepa
On Thu, Dec 25, 2008 at 6:53 AM, Jake b ninmonk...@gmail.com wrote: I think I found the problem, but it leads me to a new question: I was using .mp3 file and it seems it cannot read that format. However, I tried a different, unsupported file format, and it gave an exception. Attempting to

Re: [pygame] Trouble signing in

2008-12-12 Thread claudio canepa
On Fri, Dec 12, 2008 at 8:18 AM, Chris Smith maximi...@gmail.com wrote: I can't seem to sign in at pygame.org Username and password, son;t work, even after resetting the password. I also tried setting up a new user, but that didn't work either. Username is maximinus. Any ideas? Last

Re: [pygame] detecting pymunk collisions (was Re: QuickDraw warning on Mac OS X)

2008-11-30 Thread claudio canepa
On Sat, Nov 29, 2008 at 3:02 AM, Joe Strout [EMAIL PROTECTED] wrote: On Nov 28, 2008, at 9:48 PM, René Dudfield wrote: Also see the C documentation... as some of it applies to pymunk :) http://code.google.com/p/chipmunk-physics/wiki/Documentation Yes, I found that -- apparently in C, you

Re: [pygame] Crazy Machine type game?

2008-11-30 Thread claudio canepa
On Fri, Nov 28, 2008 at 2:44 PM, Joe Strout [EMAIL PROTECTED] wrote: Hi all, I'm new to pygame, and only recently returned to Python after nearly a decade in the REALbasic world. So I hope you'll speak slowly and use small words. :) I've got the bug to create a game similar to the

Re: [pygame] [Ann] Win32 prebuilt Pygame 1.9.0 dependencies for Pythons 2.4 and 2.5 (SDL.dll, SDL_image.dll, ...)

2008-11-26 Thread claudio canepa
On Wed, Nov 26, 2008 at 6:56 PM, Lenard Lindstrom [EMAIL PROTECTED] wrote: The Windows dependencies for Pygame 1.9.0 are now available as: http://www3.telus.net/len_l/pygame/prebuilt-pygame1.9.0-msvcr71-win32.zip size: 1,620,018 bytes ms5sum: 55d6fc42358d3be932b2a9721934c06a The

Re: [pygame] Pygame and windows managers

2008-11-12 Thread claudio canepa
On Wed, Nov 12, 2008 at 6:02 PM, Bram Cymet [EMAIL PROTECTED] wrote: Thanks for the response, I have tried just using pygame regardless. I only actually found out about the info stuff while trying to debug problems. The actual problem I am having is that the only mode that pygame seems to

Re: [pygame] No alpha-blending for Surface.fill?

2008-11-03 Thread claudio canepa
On Mon, Nov 3, 2008 at 11:02 AM, Jørgen P. Tjernø [EMAIL PROTECTED]wrote: Is there no alpha-blending for Surface.fill? The blendmodes are poorly documented, but AFAICT from the source, the blend modes only do channel-channel operations (dst_r = ra+rb, dst_g = ga+gb, etc) - nothing to do alpha

Re: [pygame] help

2008-10-30 Thread claudio canepa
On Thu, Oct 30, 2008 at 5:30 PM, Ian Mallett [EMAIL PROTECTED] wrote: Yes, I was thinking that, but the error seems to be a Python exception (indeed that's what sys.exit() does). Perhaps the error is Python 2.6 specific? Ian No, it hapens also with 2.4 . I usually edit with IDLE an run the

Re: [pygame] help

2008-10-30 Thread claudio canepa
On Thu, Oct 30, 2008 at 6:51 PM, Matt Pearson [EMAIL PROTECTED] wrote: srry it does not clear the exception, i meant to say that it only clears the exception when i put the loop in a function, still closing problem remains On Thu, Oct 30, 2008 at 3:49 PM, Matt Pearson [EMAIL PROTECTED]wrote:

Re: [pygame] help

2008-10-30 Thread claudio canepa
On Thu, Oct 30, 2008 at 7:32 PM, Matt Pearson [EMAIL PROTECTED] wrote: where do i put bContinue, before my main loop, or do i intergrate it with the loop On Thu, Oct 30, 2008 at 4:05 PM, claudio canepa [EMAIL PROTECTED]wrote: On Thu, Oct 30, 2008 at 6:51 PM, Matt Pearson [EMAIL PROTECTED

Re: [pygame] help

2008-10-30 Thread claudio canepa
On Thu, Oct 30, 2008 at 9:37 PM, pymike [EMAIL PROTECTED] wrote: If you do that you might get a display error if your drawing code is after the input code.- pymike You are totally right, pymike. So... ok, lets forget about bContinue, lets the while as in the original code, while True: and

Re: [pygame] Pyggy Awards are Go, Almost

2008-10-24 Thread claudio canepa
On Wed, Oct 22, 2008 at 10:28 PM, Greg Ewing [EMAIL PROTECTED]wrote: Richard and I have been working on setting up a web site for the Pyggy Awards, and it's very nearly ready to go! ... So I'm asking for feedback on this -- what would you prefer? More time, or more breathing space before the

Re: [pygame] Shaders and Examples not Working

2008-10-23 Thread claudio canepa
On Thu, Oct 23, 2008 at 12:03 PM, Mike C. Fletcher [EMAIL PROTECTED]wrote: Ian Mallett wrote: Hi, I get (adding the necessary import ctypes at the top): AttributeError: function 'glCreateShader' not found Thanks, Ian You'll likely need to use the extension-based version

Re: [pygame] Pyggy Awards are Go, Almost

2008-10-22 Thread claudio canepa
On Wed, Oct 22, 2008 at 10:28 PM, Greg Ewing [EMAIL PROTECTED]wrote: Richard and I have been working on setting up a web site for the Pyggy Awards, and it's very nearly ready to go! In case you've forgotten, the Pyggy Awards is going to be a showcase event for games based on a previous

Re: [pygame] Shaders and Examples not Working

2008-10-22 Thread claudio canepa
On Tue, Oct 21, 2008 at 10:15 PM, Ian Mallett [EMAIL PROTECTED] wrote: Hi, On Tue, Oct 21, 2008 at 12:28 PM, claudio canepa [EMAIL PROTECTED]wrote: Searching the pygame site with 'shaders + opengl' got many hits. Can you point to the specif script(s) in trouble ? I was referring

Re: [pygame] Shaders and Examples not Working

2008-10-21 Thread claudio canepa
On Mon, Oct 20, 2008 at 11:42 PM, Ian Mallett [EMAIL PROTECTED] wrote: Hi, I've been doing lots of cool stuff with PyOpenGL, but frankly, with cooler effects comes more complexity, and when things get more complex [...] The solution, I've gathered from day 1, is to use shaders, which are

[pygame] BUG?: clip and Rect anomalies when width or height negative

2008-10-17 Thread claudio canepa
1. Clip Anomaly: when a surface .set_clip is called with a rect which have negative width or height, seems natural that following fills or blits don't touch at all the surface. But width0 -- surface.get_clip().width == surface.get_width() height0 -- surface.get_clip().height ==

Re: [pygame] Watch for problems building pygame.transform on non-Windows operating systems.

2008-10-15 Thread claudio canepa
On Wed, Oct 15, 2008 at 10:26 PM, Lenard Lindstrom [EMAIL PROTECTED] wrote: It's alive! It's alive! My monster lives. A VC body with a MinGW heart. HaHaHaHaHa... Cheers !!! gmail don't like ascii art, so it is atacched -- claxo .. .

Re: [pygame] Unexpected behavior from BLEND_RGBA_SUB

2008-10-07 Thread claudio canepa
On Tue, Oct 7, 2008 at 7:18 PM, Yumiko Shirasagi [EMAIL PROTECTED]wrote: Hello, When I blit an image such as this (generated dynamically with PIL, and saved here by pygame.image.save)- http://xs432.xs.to/xs432/08412/mask808.png to this screen, using the line screen.blit(mask, (0, 0), None,

Re: [pygame] Unexpected behavior from BLEND_RGBA_SUB

2008-10-07 Thread claudio canepa
... a quick test tells that , at pixel level, pygame 1.8.1release: sf1 sf2sf1.blit(sf2,None,'BLEND_RGBA_SUB') (r1,g1,b1,a1) (r2,g2,b2,a2) (clamp(r1-r2),clamp(g1-g2), clamp(b1-b2), 255) Looks wrong to me, but there are not specs for the oper. -- claxo

Re: [pygame] Game Maker but with Python?

2008-10-01 Thread claudio canepa
On Wed, Oct 1, 2008 at 6:12 PM, Nathan Whitehead [EMAIL PROTECTED] wrote: I just saw 100 Game Maker Games, a cool 10 minute video that shows the wide variety of cool games you can make with Game Maker. http://playthisthing.com/100-game-maker-games There should be something like this but

Re: [pygame] question about transparent surfaces and alpha-value

2008-09-24 Thread claudio canepa
sorry, the blit musty be tmp.blit(surf, (0,0), surf.get_rect(), BLEND_RGBA_MULT) -- claxo On Wed, Sep 24, 2008 at 2:58 AM, claudio canepa [EMAIL PROTECTED] wrote: something like: def get_alphaed( surf, alpha): tmp = Pygame.Surface( surf.get_size(), SRCALPHA, 32) tmp.fill

Re: [pygame] question about transparent surfaces and alpha-value

2008-09-23 Thread claudio canepa
Well, .set_alpha() docs tells that per pixel alpha overrides surface alpha, so you can set the alpha but will have no effect. If you are on pygame 1.8.1, you can blit to a temporary surface with BLEND_MULT flags, the final pixel - channel will go as: tmp = a*b/256 where a.blit(b,.., BLEND_MULT)

Re: [pygame] Bug fixes - New Pygame 1.8 DLLs

2008-08-23 Thread claudio canepa
Excellent !!. Just for confirmation, I tied the relevant bugdemos in my system, they come clear. -- claxo On Sat, Aug 23, 2008 at 4:25 AM, Lenard Lindstrom [EMAIL PROTECTED] wrote: I have prepared a new SDL.dll and SDL_mixer.dll to address several SDL related bugs. They can be downloaded as a

Re: [pygame] BUG:? pygame.mixer.music crash

2008-08-22 Thread claudio canepa
Fantastic !!! / launching a swarm of fireworks to honor Lenard work -- claxo On Thu, Aug 21, 2008 at 7:53 PM, Lenard Lindstrom [EMAIL PROTECTED] wrote: Typo correction: The test cases run *without* crashing. Lenard Lenard Lindstrom wrote: This SDL_mixer bug was fixed in SVN. The test

[pygame] pygame color slice difference between 1.8.0 and 1.8.1 ?

2008-08-19 Thread claudio canepa
pygame color slice difference between 1.8.0 and 1.8.1release ? with pygame 1.8.1release the app BezierLoops http://www.pygame.org/project/848/?release_id=1474 crashes with TypeError: sequence index must be integer, not 'slice' when it tries to slice a pygame.color.Color instance In the

[pygame] BUG:? color incompatibility in pygame 1.8.1release versus 1.7.1release

2008-08-17 Thread claudio canepa
color incompatibility in pygame 1.8.1release versus 1.7.1release import pygame print pygame.version.ver 1.8.1release c=pygame.color.Color('#00') print c (0, 0, 0, 0) import pygame print pygame.version.ver 1.7.1release c = pygame.color.Color('#00') print c (0, 0, 0, 255) --

[pygame] Re: pgu broken with pygame 1.8.1release ? - patch for one bug(crash)

2008-08-17 Thread claudio canepa
Ok, the gui9.py misbehavior comes from a color incompatibility between pygame version 1.7.1 versus 1.8.1: import pygame print pygame.version.ver 1.8.1release c=pygame.color.Color('#00') print c (0, 0, 0, 0) import pygame print pygame.version.ver 1.7.1release c =

[pygame] pgu broken with pygame 1.8.1release ? - patch for one bug(crash)

2008-08-14 Thread claudio canepa
Knowing that a number of pygame games used pgu, and on top of that pyweek is near, I take the liberty to re-post at pygame-users. pgu broken with pygame 1.8.1release ? - patch for one bug(crash) Nine of the demos crash with the same (except script name) traceback: Traceback (most recent call

[pygame] blit anomalies in pygame 1.8.1release

2008-08-11 Thread claudio canepa
Two (unrelated) anomalies in pygame.Surface.blit(), bugs or what ? Tests in windows XP + sp2 Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 pygame 1.8.1release ( installed from pygame-1.8.1release.win32-py2.4.msi ) 1. The pygame documentation and

[pygame] blit anomalies in pygame 1.8.1release (2)

2008-08-11 Thread claudio canepa
Opps, now really with the test files. Two (unrelated) anomalies in pygame.Surface.blit(), bugs or what ? Tests in windows XP + sp2 Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 pygame 1.8.1release ( installed from pygame-1.8.1release.win32-py2.4.msi ) 1. The

Re: [pygame] blit anomalies in pygame 1.8.1release (2)

2008-08-11 Thread claudio canepa
Lenard wrote: [...] The documentation is vague on this point. The argument names are descriptive only in most cases. The actual arguments are strictly positional. While technically the argument signature for Surface.blit is (*args), this is also misleading as blit has only fixed aguments. Such

Re: [pygame] blit anomalies in pygame 1.8.1release (2)

2008-08-11 Thread claudio canepa
: claudio canepa wrote: 2. When blitting (with no blend flags) an opaque pixel ( alpha channel at 255 ) over any other pixel, seems natural that the resulting color be the src color. (opaque is opaque, right ?). In most cases pygame is off by one, by example: . dst is filled with (x

Re: [pygame] Another blitting surface to itself crash

2008-08-08 Thread claudio canepa
On 8/7/08, René Dudfield [EMAIL PROTECTED] wrote: A summary of what has been found out so far: * it doesn't seem to crash on linux/osx. * It never crashed for SDL 1.2.7 through 1.2.9 (but crashes with 1.2.9 build Lenard made) * For SDL 1.2.10 and 1.2.11 it crashes after like 2-6 passes, and

Re: [pygame] Another blitting surface to itself crash

2008-08-03 Thread claudio canepa
On 8/2/08, Brian Fisher [EMAIL PROTECTED] wrote: There's another instance of blitting a surface to itself crashing on Windows for a user, it's believed to be a 1.8.1 thing by the poster http://pygame.motherhamster.org/bugzilla/show_bug.cgi?id=19 last time it came up marcus was thinking about

[pygame] Re: BUG:? pygame.mixer.music crash

2008-08-01 Thread claudio canepa
The crashes persist with 1.8.1release ( downloaded from the pygame link, unistall 1.8.1.rc3, verified site-packages/pygame disapeared, installed 1.8.1release, run the tests that come with the docs, all passed OK) A workaround enought good for me: Instehad of calling directly

Re: [pygame] BUG:? pygame.mixer.music crash

2008-08-01 Thread claudio canepa
Okay, I can confirm that mtest2.py consistently crashes for me on the third toggle. Also the attached music.py test program crashes on the third iteration of the for loop. There is no crash for ogg-vorbis and midi (using timidity) files. Neither does music.c, the C version of music.py,

[pygame] BUG:? pygame.mixer.music crash

2008-07-30 Thread claudio canepa
Problem: pygame.mixer.music crash while changing song pygame versions with problems: 1.7.1 : got from pygame site maybe two years ago, the binary dependencies at same time , the binaries readme tells it is SDL - 1.2.7 , with SDL_mixer - 1.2.3, built with MSVC 6. Lots of pygame games run with no