Re: [pygame] Making a Movie

2010-04-28 Thread Peter Shinners
It may help that SDL has a wav audio driver that writes all sound output to an uncompressed .wav. Unfortunately it will take some magic to get it synced with the video you've assembled. On 04/27/2010 07:46 PM, Ian Mallett wrote: I figured out I have to set the input file's framerate too:

Re: [pygame] pygame.image.save(...)

2010-04-28 Thread René Dudfield
On Wed, Apr 28, 2010 at 5:26 AM, Ian Mallett geometr...@gmail.com wrote: Huh, well I found a way to monitor RAM in Python.  Memory usage is not spiking up. I found the problem though!  The screenshot code was trying to open all the previous paths (so it wouldn't overwrite any).  When I keep

Re: [pygame] Making a Movie

2010-04-28 Thread René Dudfield
hi ya, if you have spare cpu/memory bandwidth, then screen casting software may be easier. There's some good free ones here: http://en.wikipedia.org/wiki/List_of_screencasting_software cu. On Wed, Apr 28, 2010 at 2:00 AM, Ian Mallett geometr...@gmail.com wrote: Hi, So, I'm trying to make

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread B W
Very recent discussion on the Python 2.5 vs 2.6 topic: http://www.mail-archive.com/pygame-users@seul.org/msg13877.html If you want to run two Python versions, you can do so by managing some environment variables. Here's what I do in Cygwin: PATH=append search path for Python executables and

Re: [pygame] pygame.image.save(...)

2010-04-28 Thread B W
On Wed, Apr 28, 2010 at 1:31 AM, René Dudfield ren...@gmail.com wrote: On Wed, Apr 28, 2010 at 5:26 AM, Ian Mallett geometr...@gmail.com wrote: several hundred files every time it tries to save. Oh well, user error. hehe. A place I worked at in the 90's would call an 'user error' an

Re: [pygame] pygame.image.save(...)

2010-04-28 Thread Lee Buckingham
ID ten T errors. =) -Lee- On Wed, Apr 28, 2010 at 7:33 AM, B W stabbingfin...@gmail.com wrote: On Wed, Apr 28, 2010 at 1:31 AM, René Dudfield ren...@gmail.com wrote: On Wed, Apr 28, 2010 at 5:26 AM, Ian Mallett geometr...@gmail.com wrote: several hundred files every time it tries to

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread James Paige
On Tue, Apr 27, 2010 at 10:18:34PM -0300, claudio canepa wrote: 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.

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread Khono Hackland
I believe this is the link to page creation: http://www.pygame.org/wiki/CreatePage I don't see any fields for entering the title though. On 28 April 2010 11:39, James Paige b...@hamsterrepublic.com wrote: On Tue, Apr 27, 2010 at 10:18:34PM -0300, claudio canepa wrote:    On Tue, Apr 27, 2010

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread René Dudfield
you just go to the url you want to create, then edit it. cu. On Wed, Apr 28, 2010 at 5:00 PM, Khono Hackland generousparas...@gmail.comwrote: I believe this is the link to page creation: http://www.pygame.org/wiki/CreatePage I don't see any fields for entering the title though. On 28

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread James Paige
Thanks! I created a rough draft at http://www.pygame.org/wiki/PythonVersions I would appreciate it if anybody who has personal experience with advantages or disadvantages of using certain python versions could add them to that page. I am also curious what versions people actually use on

[pygame] informal poll on Windows python version

2010-04-28 Thread James Paige
This is an informal poll to figure out which version of python people use with pygame on Windows Just reply and post your versions in this format Windows Version: Windows XP Pygame Version: 1.9.1 Python Version: 2.5 and 2.6 (I have both

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Ian Mallett
Windows Version: Vista Home Premium PyGame Version: 1.9.1 Python Version: 2.5.4 (also have 2.6, not designated as my *main* Python). Ian

RE: [pygame] informal poll on Windows python version

2010-04-28 Thread David Taylor
Windows XP, SP3 Pygame 1.9.1 Python 2.6, very happy with it. Will move to 3.1 as soon as all the libraries I use have been ported. -Original Message- From: owner-pygame-us...@seul.org [mailto:owner-pygame-us...@seul.org] On Behalf Of James Paige Sent: Wednesday, April 28, 2010

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Nikhil Murthy
Windows Vista Pygame 1.9.1 Python 2.6 On Wed, Apr 28, 2010 at 10:38 PM, David Taylor taylor...@comcast.netwrote: Windows XP, SP3 Pygame 1.9.1 Python 2.6, very happy with it. Will move to 3.1 as soon as all the libraries I use have been ported. -Original Message- From:

Re: [pygame] pygame.image.save(...)

2010-04-28 Thread Daniel Tousignant-Brodeur
We're using the 'Code 18' here usually used in the context when you found the error and that it is approx. 18 inches in front of the monitor. Daniel Tousignant-Brodeur On Wed, Apr 28, 2010 at 11:03 AM, Lee Buckingham lee.bucking...@gmail.comwrote: ID ten T errors. =) -Lee- On Wed, Apr

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Russell Cumins
Windows Vista Home Premium I currently have the following installed: - Python 2.5.4 with Pygame 1.8.1 These are the default versions of python and pygame that I use. - Python 2.6.2 with Pygame 1.9.1 - Python 3.1 with Pygame 1.9.1 Haven't really done much with Python 3.1. On 28

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread DR0ID
Windows Version: Win7 Professional 64bit Pygame Version: 1.9.1release-svn2575 Python Version: Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] on win32

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Jason M. Marshall
Windows Version: Windows XP Pygame Version: 1.9.2pre Python Version: 2.5 and 3.1

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Luke Paireepinart
Windows Version: Windows 7 Ultimate 64-bit Pygame Version: 1.9.1 Python Version: 2.6.4 32-bit

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Stuart Axon
Windows XP Home, + Windows Vista Home Premium Pygame 1.9.1 Python 2.6 32bit On 28 April 2010 20:22, Luke Paireepinart rabidpoob...@gmail.com wrote: Windows Version: Windows 7 Ultimate 64-bit Pygame Version: 1.9.1 Python Version: 2.6.4 32-bit

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Henrique Nakashima
Windows Version: Windows XP Pygame Version: 1.9.1 Python Version: 2.6 On Wed, Apr 28, 2010 at 16:37, Stuart Axon stu.axon+pyg...@gmail.comstu.axon%2bpyg...@gmail.com wrote: Windows XP Home, + Windows Vista Home Premium Pygame 1.9.1 Python 2.6 32bit On 28 April 2010 20:22, Luke

Re: [pygame] Making a Movie

2010-04-28 Thread Ian Mallett
On Tue, Apr 27, 2010 at 11:43 PM, Peter Shinners p...@shinners.org wrote: It may help that SDL has a wav audio driver that writes all sound output to an uncompressed .wav. How does it work?

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] pygame.image.save(...)

2010-04-28 Thread Alex Nordlund
Here we just charge extra for the extra *function*. --- //Alex On Wed, Apr 28, 2010 at 7:15 PM, Daniel Tousignant-Brodeur tous...@gmail.com wrote: We're using the 'Code 18' here usually used in the context when you found the error and that it is approx. 18 inches in front of the monitor.

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Patrick Mullen
windows 7 64bit, 32 bit python 2.6, pygame 1.9.1 Also had python2.5 installed alongside 2.6 for a while, but I can't remember the last time I ran it. Occasionally I check to see if my programs run in old versions.

[pygame] Move sprite and stop it.

2010-04-28 Thread Alkatron
Maybe it's a stupid question... But i can't find how to move a sprite and stop it at (x,y) without collisions.in an empty space. I don't need step by step instruction Pointing me to a running example is enough... Thanks to all Alkatron

Re: [pygame] Move sprite and stop it.

2010-04-28 Thread Dan Ross
Here's an example of what I did to keep a player on the screen: if key[pygame.K_DOWN]: player.direction = 'down' if player.rect.bottom SCREEN_SIZE[1]: player.move(0, 5) else: pass elif key[pygame.K_UP]:

Re: [pygame] Move sprite and stop it.

2010-04-28 Thread Alkatron
Alkatron wrote: Maybe it's a stupid question... But i can't find how to move a sprite and stop it at (x,y) without collisions.in an empty space. I don't need step by step instruction Pointing me to a running example is enough... Thanks to all Alkatron I need also to swap 2

Re: [pygame] Move sprite and stop it.

2010-04-28 Thread Alkatron
Dan Ross wrote: Here's an example of what I did to keep a player on the screen: if key[pygame.K_DOWN]: player.direction = 'down' if player.rect.bottom SCREEN_SIZE[1]: player.move(0, 5) else: pass elif key[pygame.K_UP]:

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-28 Thread B W
Actually, the outcome I got from that previous thread is that for a few significant reasons 2.5.4 is still the best choice for Windows: 1. MSVC++ runtime availability on target systems, and library distribution constraints. 2. Packaging readiness (although I've been able to use pygame.org's

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread B W
Welcome to me too hell... =) WinXP Pro SP 2 WinXP Home SP 2 Python 2.6 (and side-by 2.5.4, in case someone forces me to use it some day) Pygame 1.9.1 Gumm

Re: [pygame] Move sprite and stop it.

2010-04-28 Thread B W
There are no stupid questions. Unless you work at my company where they seem to abound. :) You need to control all the details of sprite position in a loop with increments and conditions. There's no move_to in Pygame, though many of us have coded our own move_to functions we might be willing to

Re: [pygame] Move sprite and stop it.

2010-04-28 Thread Dan Ross
I second the basic tutorials so that you can understand how to accomplish exactly what you need. On Apr 28, 2010, at 5:38 PM, B W wrote: There are no stupid questions. Unless you work at my company where they seem to abound. :) You need to control all the details of sprite position in a

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread David Muffley
Windows XP Python 2.6.4 Pygame 1.9.1

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Keith Nemitz
Windows XP Python 2.6 Pygame 1.9.1

Re: [pygame] Making a Movie

2010-04-28 Thread Miriam English
Ian Mallett wrote: Also, the video quality is reaallly bad (and the whole 800 frames is less than 1 MB). I'd like to trade some space for some quality. Also, changing: ffmpeg -f image2 -r 60 -i frame%d.png -r 59 video.mpg to: ffmpeg -f image2 -r 60 -i frame%d.png -r 59 video.avi Causes