On, Tue Feb 26, 2008, Rene Dudfield wrote:
> hi,
>
> there's aa circle code here:
> http://www.ferzkopp.net/joomla/content/view/19/14/
>
> If someone is fairly quick, and wraps it (as in the next day or so)
> then we can add it to pygame for the 1.8 release.
It's definitely something for 1.9 -
I just downloaded the latest version of pyopengl for windows and it won't
import.
I type
import OpenGL.GL #just like I used to
but it says that pkg_resources was not found.
I have no clue how to fix this
h.
I do:
from OpenGL.GL import *
Maybe you installed it to a previous version of Python, or in an
otherwise incorrect place.
Ian
I tried that, this is only a problem on windows, my linux one does it fine.
I have the latest python 2.52 and the latest PyOpenGL.
I was just gonna use it to do a test between any two arbitrary quads to see
if they intersect. But the thing won't load :(
opengl seems overly complicated for that...open a python shell:
it says python 2.5.2?
if not, that might be your problem.
if so, type:
from OpenGL.GL import *
if there is no problem, then you are fine. If there is, open
C:\Python25\lib\site-packages, and make sure that pyopengl 3.0.0.b or
whatever
It will import OpenGL works, but if I try any other things such as GL or GLU
then it says that there is no module called pkg_resources.
It is searching for the file in the OpenGL directory. So it's not a problem
with python, its PyOpenGL.
I think it needs setuptools or easy_install or whatever that egg thing
is. I had a trouble with it until I installe PyOpenGL with
easy_install
On Wed, Feb 27, 2008 at 10:07 AM, Jason Ward <[EMAIL PROTECTED]> wrote:
> It will import OpenGL works, but if I try any other things such as GL or GLU
> th
I am using a proxy so I ez_setup.py can't connect.
Is there a way to make everything on windows connect through a proxy or is
that application specific?
Jason Ward wrote:
I am using a proxy so I ez_setup.py can't connect.
Is there a way to make everything on windows connect through a proxy
or is that application specific?
Windows installers for setuptools are available as Cheese Shop:
http://pypi.python.org/pypi/setuptools/0.6c8
Also, easy_i
YAY!
Thanks that worked :)
A setuptools bug that prevented compilation when Pyrex is installed has
been fixed. Now I am considering enabling setuptools by default for all
builds. This will allow the building of eggs. It also means that the
setup.py install command installs an egg rather than a normal packaged
directory.
ah, it's good if it doesn't require setup tools.
I've seen a bunch of reports from people where they require setup
tools, and get back cryptic messages about eggs and chickens.
On Thu, Feb 28, 2008 at 9:18 AM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
> A setuptools bug that prevented compilati
On Wed, Feb 27, 2008 at 2:18 PM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
> A setuptools bug that prevented compilation when Pyrex is installed has
> been fixed. Now I am considering enabling setuptools by default for all
> builds. This will allow the building of eggs. It also means that the
>
yeah, good points.
For those reasons I think it's best to stay away from it on windows at least.
On Thu, Feb 28, 2008 at 9:41 AM, Brian Fisher <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 2:18 PM, Lenard Lindstrom <[EMAIL PROTECTED]> wrote:
> > A setuptools bug that prevented compilatio
Lenard Lindstrom wrote:
Now I am considering enabling setuptools by default for all
builds. This will allow the building of eggs. It also means that the
setup.py install command installs an egg rather than a normal packaged
directory. Is this a good idea?
I'd rather not have things use setupt
No setuptools then. Good thing I check first. I will leave that part of
setup.py untouched. It only loads setuptools for bdist_mpkg, which
requires it.
Lenard
René Dudfield wrote:
yeah, good points.
For those reasons I think it's best to stay away from it on windows at least.
On Thu, Feb
Hey people!
My team has started a Python/PyGame challenge called PyDay. In the
competition you will make a one file game in 24 hours, no larger than 32 KB,
drawing all graphics internally (inside the code. That means NO image
editors!). See the site for details: http://groups.google.com/group/pyda
Hello again,
I uninstalled PyDev and PyDev Extensions and reinstalled (in Eclipse)
and finally got pygame working!
Am relatively new to both Python and Pygame (although I am very
astounded by the Python language and the Pygame module)! :-)
I created this sample app (and have placed the ca
On Thu, Feb 28, 2008 at 7:34 AM, PyMike <[EMAIL PROTECTED]> wrote:
> Hey people!
>
> My team has started a Python/PyGame challenge called PyDay. In the
> competition you will make a one file game in 24 hours, no larger than 32 KB,
> drawing all graphics internally (inside the code. That means NO i
...bragging rights?
Hi,
you need a 'main loop'.
A loops which loops over and over.
clock = pygame.time.Clock()
going = True
while going:
events = pygame.event.get()
# handle events, update game logic here.
pygame.display.flip()
clock.tick()
On Thu, Feb 28, 2008 at 2:04 PM, Unnsse Khan <[EMAIL P
Aye
On Wed, Feb 27, 2008 at 9:18 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> ...bragging rights?
>
--
- PyMike
Yaaa...I'm on!!! Nothing like a challenge
to get me off me lazyr pirate arse.
--
----.-
1/f ))) --.
---...
http://www.algomantra.com
You need a "main" loop.
What is happening now is that the program runs, completes, and exits in a
fraction of a second. Your window will open, then immediately close, like
you see.
def main()
while True:
getinput()
draw()
if name == '__name__': main()
beaten to it. :-)
Awesome! The more the merrier!
On Wed, Feb 27, 2008 at 9:22 PM, AlgoMantra <[EMAIL PROTECTED]> wrote:
> Yaaa...I'm on!!! Nothing like a challenge
> to get me off me lazyr pirate arse.
> --
> ----.-
> 1/f ))) --.
> ---...
> http://www.algomantra.com
>
--
- PyMike
Hey! I've been trying to convert my sounds to strings so I can include them
all in one python file. Can anyone help me?
--
- PyMike
Thanks Ian and Rene!
What about the following warning?
2008-02-27 18:57:46.287 Python[92860:10b] Warning once: This
application, or a library it uses, is using NSQuickDrawView, which has
been deprecated. Apps should cease use of QuickDraw and move to Quartz
Happy programming,
Unnsse
On F
This is being worked on in the latest SDL (which pygame uses).
So this is something for a release in the future. Maybe within the next year.
On Thu, Feb 28, 2008 at 3:08 PM, Unnsse Khan <[EMAIL PROTECTED]> wrote:
> Thanks Ian and Rene!
>
> What about the following warning?
>
>
> 2008-02-27 18
You can use sndarray to change the sound into an array, then you can
recompose the sound in your file. PyDay allows the use of modules in the
construction, though not in the final product. In short, you can use
Numeric to create the data, but you will have to reencode it yourself.
Hello there,
I am using OS X Leopard, Python 2.5, and PyGame...
Wrote this sample program and what happens is that the screen appears
for a brief second and terminates (closes itself) and I get this error
message.
import pygame
from pygame.locals import *
def main():
# Initialize
Hi!
I was also wondering along these lines if anyone knows who has the best
text to speech documentation? I would like to learn how to use it, and write my
own talking games.
I am using the windows OS
Bruce
Subject: Re: [pygame] Sound to String
You can use sndarray to chan
For some reason, the default pygame font is not to be found.
Your program is fine--it runs for me (and just to make sure, you see only a
white background, you aren't drawing text).
As a solution, you can locate the fonts on your computer and use one of
them.
You could always record the sound you want to play, but actually rendering
sound from text might be difficult. If anyone knows, I'd like to know too.
I fixed it by manually moving the freesanbold.ttf file to:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
packages/pygame
Happy programming,
Unnsse
On Feb 27, 2008, at 8:38 PM, Ian Mallett wrote:
For some reason, the default pygame font is not to be found.
Your progr
Why isn't the text drawing (or being rendered) when one runs this
program:
import pygame
from pygame.locals import *
def main():
# Initialize screen
pygame.init()
screen = pygame.display.set_mode((800,300))
pygame.display.set_caption('Basic Pygame program')
hi,
you need to blit the text surface to the screen.
Thanks for pointing out the lack of the ttf file... I think the
installer was broken.
cheers,
On Thu, Feb 28, 2008 at 4:01 PM, Unnsse Khan <[EMAIL PROTECTED]> wrote:
> Why isn't the text drawing (or being rendered) when one runs this
> pro
while 1:
for event in pygame.event.get():
if event.type == QUIT:
return
screen.blit(background, (0, 0))
screen.blit(text, (0, 0))
pygame.display.flip()
The new download from here I just tested installs the font.
http://www.pygame.org/download.shtml
I didn't test the old one... so I'm not so sure if it did. (it's in
the old directory if anyone wants to test).
On Thu, Feb 28, 2008 at 4:14 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
> while 1:
>
Did you test it installing it BSD Unix or OS X Leopard and / or Tiger?
I'll try the same thing in Ubuntu and Solaris when I have the time...
Happy programming,
Unnsse
On Feb 27, 2008, at 9:28 PM, René Dudfield wrote:
The new download from here I just tested installs the font.
http://www.pygam
40 matches
Mail list logo