Re: [pygame] my 3d planet game

2008-06-16 Thread Astan Chee
: Friday, June 13, 2008 6:41 PM Subject: Re: [pygame] my 3d planet game I havent tested this in pygame 1.8.0. There are 2 ways of opening the navigation console, via the menu and from the button. Both open a new window (pygame window) with the 3D shape. While the console is open, you cant

Re: [pygame] my 3d planet game

2008-06-16 Thread Astan Chee
Hi, Thanks for the tip. Right now Im still researching on how to network the games so that it plays like MMOs. But yes, along the way there will be a need for messaging other players as well as trading with other players. thanks again M. Peterson wrote: hi if your game is network ready, can

Re: [pygame] my 3d planet game

2008-06-14 Thread etrek
-users@seul.org Sent: Friday, June 13, 2008 6:41 PM Subject: Re: [pygame] my 3d planet game I havent tested this in pygame 1.8.0. There are 2 ways of opening the navigation console, via the menu and from the button. Both open a new window (pygame window) with the 3D shape. While the console is open

Re: [pygame] my 3d planet game

2008-06-14 Thread Astan Chee
Hi, Thanks for the explanation but again, I dont understand the terms you are using. I only call gluPerspective once; how or what are aspect parameters? It seems that the last part you are describing is similar with what I am already doing. What or how is mine different? Thanks again.

Re: [pygame] my 3d planet game

2008-06-14 Thread Astan Chee
Manager in order to shut it down. I have Windows Vista32, Pygame 1.8.0, latest wxPython, Python 2.5 and PyOpengl -etrek - Original Message - From: Astan Chee [EMAIL PROTECTED] To: pygame-users@seul.org Sent: Friday, June 13, 2008 6:41 PM Subject: Re: [pygame] my 3d planet game I havent

Re: [pygame] my 3d planet game

2008-06-14 Thread Charlie Nolan
Look up the syntax for gluPerspective. Two of the parameters are called fovy and aspect. The point is that *those* parameters are the ones that drive the display, so when you apply them to the mouse rotation, it'll feel more natural. -FM Astan Chee wrote: Hi, Thanks for the explanation but

Re: [pygame] my 3d planet game

2008-06-14 Thread Charlie Nolan
: Re: [pygame] my 3d planet game I havent tested this in pygame 1.8.0. There are 2 ways of opening the navigation console, via the menu and from the button. Both open a new window (pygame window) with the 3D shape. While the console is open, you cant interact with the main window. The new

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
Whops, sorry. Dropped you off the list there. Versions? sure, but Im sure I deleted the old one before uploading the new one just now. Does the new one come up with the old interface? h, I'll have a look and change it accordingly next time Cheers Charlie Nolan wrote: It doesn't look like

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
Astan Chee wrote: Im guessing you are using linux,right? Commenting out os.environ['SDL_VIDEODRIVER'] = 'windib' should work if you are on linux. Right. Tried that, got a new error: (python:31706): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a pixmap or window The program 'python'

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
Google Code actually isn't supposed to allow deleting files. I guess you had little enough exposure that you got the whoops, wrong file exception. -FM P.S. Feh, my turn to drop off the list. Direct TO/CC's screw up the reply button. :/ Astan Chee wrote: Whops, sorry. Dropped you off the

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
Thanks for the feedback. I really appreciate it. Charlie Nolan wrote: (python:31706): Gdk-WARNING **: gdkdrawable-x11.c:878 drawable is not a pixmap or window The program 'python' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
What is it that you're trying to do? Reuse the same window for both pygame/OpenGL and wx? If so, it might work better to separate them into two windows. I haven't really done anything with OpenGL though, so take that with a grain of salt. -FM Astan Chee wrote: Thanks for the feedback. I

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
No, and the wx window should be on a seperate thread as the pygame/opengl one. The wx window calls the pygame one though. But yeah, they are two separate windows. Thanks for trying though. Cheers Astan Charlie Nolan wrote: What is it that you're trying to do? Reuse the same window for both

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
Found it. I just had to not set the other environment variable (SDL_WINDOWID) either, and it worked fine. -FM Astan Chee wrote: No, and the wx window should be on a seperate thread as the pygame/opengl one. The wx window calls the pygame one though. But yeah, they are two separate windows.

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
Thanks! So the keyboard shortcuts work in linux as well? Cheers Astan Charlie Nolan wrote: Found it. I just had to not set the other environment variable (SDL_WINDOWID) either, and it worked fine. -FM Astan Chee wrote: No, and the wx window should be on a seperate thread as the

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
Thanks! So the keyboard shortcuts work in linux as well? Looks good. A few notes: * Mouse scroll down is equivalent to s (move back), not f (move up). * When dragging with RMB, the mechanics feel off. The mouse cursor should stay on top of roughly the same bit of space as I drag it, not have

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
Charlie Nolan wrote: Thanks! So the keyboard shortcuts work in linux as well? Looks good. A few notes: * Mouse scroll down is equivalent to s (move back), not f (move up). * When dragging with RMB, the mechanics feel off. The mouse cursor should stay on top of roughly the same bit of

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
Charlie Nolan wrote: Looks good. A few notes: * Mouse scroll down is equivalent to s (move back), not f (move up). Thanks. Im not so good at manuals or documenting code. * When dragging with RMB, the mechanics feel off. The mouse cursor should stay on top of roughly the same bit of space

Re: [pygame] my 3d planet game

2008-06-13 Thread James Paige
On Fri, Jun 13, 2008 at 07:21:30PM +1000, Astan Chee wrote: * When dragging with RMB, the mechanics feel off. The mouse cursor should stay on top of roughly the same bit of space as I drag it, not have the space go zooming out past it. I dont know how to do this in pygame. Is there an

Re: [pygame] my 3d planet game

2008-06-13 Thread etrek
with mouse just causes the circle to flicker. Thanks, etrek - Original Message - From: Astan Chee [EMAIL PROTECTED] To: pygame-users@seul.org Sent: Friday, June 13, 2008 2:21 AM Subject: Re: [pygame] my 3d planet game Charlie Nolan wrote: Looks good. A few notes: * Mouse scroll down

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
James Paige wrote: On Fri, Jun 13, 2008 at 07:21:30PM +1000, Astan Chee wrote: * When dragging with RMB, the mechanics feel off. The mouse cursor should stay on top of roughly the same bit of space as I drag it, not have the space go zooming out past it. I dont know how to do this

Re: [pygame] my 3d planet game

2008-06-13 Thread Astan Chee
Message - From: Astan Chee [EMAIL PROTECTED] To: pygame-users@seul.org Sent: Friday, June 13, 2008 2:21 AM Subject: Re: [pygame] my 3d planet game Charlie Nolan wrote: Looks good. A few notes: * Mouse scroll down is equivalent to s (move back), not f (move up). Thanks. Im not so good

Re: [pygame] my 3d planet game

2008-06-13 Thread Charlie Nolan
He's missing a major detail, namely that you're going to need to translate to/from spherical co-ordinates if you want to do it right. You could just toy around with the look speed until you found something close to right, but you might as well just get it right to start with. Whenever you call

Re: [pygame] my 3d planet game

2008-06-12 Thread Marius Gedminas
On Thu, Jun 12, 2008 at 06:20:25PM +1000, Astan Chee wrote: I've been working on my 3d planet game and now it is finally done. For those of you interested the source can be found at: http://code.google.com/p/planetgame/ Also, this is kinda like a post-prototype, so any feedback is much

Re: [pygame] my 3d planet game

2008-06-12 Thread Astan Chee
Marius Gedminas wrote: The main window doesn't fit on my 1280x800 screen. Hmm, is it too long or too wide? or both? If I blindly tab down there and press Enter, without changing any of the default settings, I get this exception: Traceback (most recent call last): File wxSol.py, line

Re: [pygame] my 3d planet game

2008-06-12 Thread Ian Mallett
Typo in Player Details - Total Ammount Ian

Re: [pygame] my 3d planet game

2008-06-12 Thread Charlie Nolan
You can apparently support python 2.4 by changing the one place where you have class foo(): to read class foo:. The main interface is going to be too tall for 1280x800. If you move the second section of the Object Editor to the right of the first (instead of below), you should be able to drop

Re: [pygame] my 3d planet game

2008-06-12 Thread Astan Chee
Charlie Nolan wrote: You can apparently support python 2.4 by changing the one place where you have class foo(): to read class foo:. The main interface is going to be too tall for 1280x800. If you move the second section of the Object Editor to the right of the first (instead of below), you