Re: [pygame] Linux binaries

2008-11-04 Thread Greg Ewing
yanom @linuxmail.org wrote: I understand you can use py2exe to make your python program into a Windows executable, but is there a tool for making them into a Linux binary? I want my game to run faster. If you're thinking that py2exe makes Python programs run faster on Windows, you're assuming

Re: [pygame] Linux binaries

2008-11-04 Thread Patrick Mullen
On Tue, Nov 4, 2008 at 12:55 AM, Greg Ewing [EMAIL PROTECTED] wrote: The only way to improve speed is to re-code the cpu-intensive parts using something more efficent, such as C or Pyrex. -- Greg Or, of course, write better python code if possible in those parts.

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

2008-11-04 Thread Jørgen P. Tjernø
claudio canepa wrote: On Mon, Nov 3, 2008 at 11:02 AM, Jørgen P. Tjernø [EMAIL PROTECTED] mailto:[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

Re: [pygame] Shaders and Examples not Working

2008-11-04 Thread Charlie Nolan
Looks like you need to make a call to glutInit() at the start of InitGL. Won't run here without it. -FM On Thu, Oct 23, 2008 at 5:31 PM, Ian Mallett [EMAIL PROTECTED] wrote: I've condensed it down and ported it to pygame. http://www.geometrian.com/Programs/Tutorials/pygameshaders.zip Ian

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

2008-11-04 Thread Matt Pearson
Im having problems with Geany using pygame. The same script worked with IDLE.. Its a keycommand thats throwing an error or exception. its giving me an Assertion error? to my movement lines Assertion error: must be a float idk what this means im using Vector2 for key direction On Mon, Nov 3,

Re: [pygame] Linux binaries

2008-11-04 Thread yanom @linuxmail.org
- Original Message - From: Greg Ewing [EMAIL PROTECTED] To: pygame-users@seul.org Subject: Re: [pygame] Linux binaries Date: Tue, 04 Nov 2008 21:55:45 +1300 yanom @linuxmail.org wrote: I understand you can use py2exe to make your python program into a Windows executable,

Re: [pygame] Shaders and Examples not Working

2008-11-04 Thread Ian Mallett
Hi, yes, I noticed that for some reason my computer doesn't require this, but nearly everyone I've talked to seems to need it. Is there a reason why glutInit() is required on some computers and not on others? Ian

Re: [pygame] Linux binaries

2008-11-04 Thread Greg Ewing
Patrick Mullen wrote: On Tue, Nov 4, 2008 at 12:55 AM, Greg Ewing [EMAIL PROTECTED] wrote: The only way to improve speed is to re-code the cpu-intensive parts using something more efficent, such as C or Pyrex. Or, of course, write better python code if possible in those parts. Yes,

Re: [pygame] Shaders and Examples not Working

2008-11-04 Thread Mike C. Fletcher
Ian Mallett wrote: Hi, yes, I noticed that for some reason my computer doesn't require this, but nearly everyone I've talked to seems to need it. Is there a reason why glutInit() is required on some computers and not on others? Ian GLUT has some book-keeping stuff that it needs

Re: [pygame] Linux binaries

2008-11-04 Thread Charlie Nolan
Yes, certainly -- finding a better algorithm is always the best form of optimization! Yup. Even a supercomputer is going to choke if you feed it Bogosort.

Re: [pygame] Linux binaries

2008-11-04 Thread bhaaluu
On Mon, Nov 3, 2008 at 5:10 PM, yanom @linuxmail.org [EMAIL PROTECTED] wrote: I understand you can use py2exe to make your python program into a Windows executable, but is there a tool for making them into a Linux binary? I want my game to run faster. Your game will run faster on GNU/Linux

Re: [pygame] my rpg game (so far)

2008-11-04 Thread Michael Fiano
On Sat, 1 Nov 2008 05:06:08 -0400 Michael Fiano [EMAIL PROTECTED] wrote: I am stuck. I realized I need to blit the player the the map surface instead of the screen so that I can position the player at a given map position. The problem is if i change line 66 of player.py from: