Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-17 Thread Brandon N
Great progress! One question, are you backing up your code in between "breaking" it? On Jan 17, 2007, at 11:43 AM, Charles Christie wrote: Good news everyone! I found out why I could never get anywhere: I was too afraid of breaking stuff so I didn't try to mess with anything. However, if you

Re: [pygame] Newbie needs help, what's the most efficient (or easiest) way to do this?

2007-01-04 Thread Brandon N
I will not give you the code since you have stated this in an assignment, but hopefully I can help. You are correct that you will need an array, or a list in Python, to store the strings. I would be more concerned with ease of programming than efficiency, as this is a pretty straightforward

Re: [pygame] Rotating Images on a specified axis.

2006-12-28 Thread Brandon N
Just to throw in my piece, I worked on a school project a few years ago that required this type of rotation and I had good luck with rotating the artifact in somewhere around 6 degree increments and saving them all to one large texture with rotozoom at the start. It worked swiftly and I fou

Re: [pygame] Receive own posts

2006-12-27 Thread Brandon N
Ah, I do see them in the gmail web interface though I have Mail.app auto-bcc me so I am unsure as to which is showing up. This is rather annoying but I will find it in me to survive somehow! Thank you both, Cheers. On Dec 27, 2006, at 3:40 AM, Stephen Parkes wrote: On 12/27/06, Luke Pai

[pygame] Receive own posts

2006-12-26 Thread Brandon N
Hello all, Is there a way to configure my subscription so that I receive the emails that I send for this list? I tried emailing info, but there was no information as to how to go about this or if it was possible. Thanks, Brandon

Re: [pygame] Negative number positive

2006-12-26 Thread Brandon N
abs(-5) On Dec 26, 2006, at 7:00 PM, Farai Aschwanden wrote: Hello Erm, not a Pygame 1.8 question but just cant find the the needed function: I would like to make a negative number to a positive number, like -5 -> 5 Quite easy, just cant find the Python function (if there is one). Sure

Re: [pygame] Scripting language

2006-12-18 Thread Brandon N
I've been reading up on perspective broker since you emailed it and I think a solution of that sort is the most likely that I will end up with. As for the examples you have posted, I had a rudimentary Python-like scripting language I've been building that is translated to Python after val

Re: [pygame] Scripting language

2006-12-18 Thread Brandon N
I did find Lua in Python (http://labix.org/lunatic-python) though it seems to expose the Python environment within Lua which is a deal- breaker.

Re: [pygame] Scripting language

2006-12-18 Thread Brandon N
Yeah, I have been afraid of this being the case given that all my research indicated it. Thanks for the link, I agree that they are unsatisfactory, but at least it is a step in determining what exactly is available. Brian, I had actually given thought to something akin to the system

Re: [pygame] Scripting language

2006-12-18 Thread Brandon N
That is the sort of thing I do not want to expose. (And that would remove the current users home directory.) On Dec 18, 2006, at 6:02 PM, Luke Paireepinart wrote: Patrick Mullen wrote: I don't see how this is safer... def make_ball_bounce(ball): import os os.system('rm -rf ~') (I don't

Re: [pygame] Scripting language

2006-12-18 Thread Brandon N
ods I choose to allow. Thanks, Brandon On Dec 18, 2006, at 5:51 PM, Farai Aschwanden wrote: Hello Brandon Maybe I missunderstand you but Python IS a scripting language. What is your intention using Python? Farai Am 18.12.2006 um 22:53 schrieb Brandon N: Hello all, This is not stric

[pygame] Scripting language

2006-12-18 Thread Brandon N
Hello all, This is not strictly a pygame question though it does relate to my use of pygame in general. What have people used for scripting languages in Python? I suppose I could use Python itself but I do not want to expose anything through the use of eval or otherwise (currently I am d

Re: [pygame] GLSL in Pygame on a Mac

2006-12-17 Thread Brandon N
Interesting, I believe I have had this expressed to me before though it clearly has not sunken in. Thanks for the clarification. Cheers, Brandon On Dec 17, 2006, at 8:55 AM, Alex Holkner wrote: Brandon N wrote: Thanks, that seems to be the solution. Interestingly, perhaps this is a

Re: [pygame] GLSL in Pygame on a Mac

2006-12-17 Thread Brandon N
7;module' object has no attribute 'util' >>> from ctypes.util import find_library >>> Is there something unique about the util module in ctypes? Thanks again! Cheers, Brandon On Dec 16, 2006, at 10:54 PM, Alex Holkner wrote: Brandon N wrote: Hello, I

[pygame] GLSL in Pygame on a Mac

2006-12-16 Thread Brandon N
Hello, I recently came across the GLSL example at: http://www.pygame.org/ wiki/GLSLExample This would appear to meet my needs for using GLSL from within pygame, but I cannot seem to get it working. First, as I am not really familiar with the Python wrapper of OpenGL, is that example M