[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] my 3d planet game



Looks like the culprit is
        if sys.platform == 'win32':
            os.environ['SDL_WINDOWID'] = str(self.GetHandle())
            os.environ['SDL_VIDEODRIVER'] = 'windib'           
If I take it out completely, it works regardless. Wierd, but I'll try to get the gluPerspective to work and update a new version.
Thanks.
Cheers


Charlie Nolan wrote:
Works fine for me on almost-pristine 1.8.  (I've got a patch in locally
to fix the "buffer is always 256" bug that tends to cause crackly sound.)

-FM

Astan Chee wrote:
  
Ok. I just tried upgrading to pygame 1.8 and true enough, nothing
appears. Im not sure why. Maybe doing the env var settings (
http://wiki.wxpython.org/IntegratingPyGame ) breaks something new that
is introduced in 1.8? I reverted it back to 1.7.1 and it worked again
fine. Although using 1.8 didnt break my other games that were pure
pygame, only the ones that did things mentioned in that website. Anyone
have any idea why?
Cheers
Astan

Astan Chee wrote:
    
This is very unusual. Can you get a screenshot of this fuzzy circle
and two small dots? Maybe its the size of the pygame window not sizing
properly. Also, once you click on the "navigate/open navigation"
button, the pygame window behaves like a wxDialog, in that it becomes
a child window of the main UI and unless the child window is closed,
interaction with the parent is disabled. Anyway, I'll try and upgrade
mine to pygame 1.8 and see if it still happens.
Thanks again
Cheers

etrek wrote:
      
I have tried both ways to open navigation console.  I create some
objects and then click on "Navigation Information" tab.  Then click
on "Resume" button to start time.  Then click on "Navigate/Open
Navigation Console" button.  A separate Pygame window does not
appear.  All I see is a fuzzy circle and two small dots (My guess is
they represent, Sun,Earth,Moon) on the same screen as the Navigation
Information UI screen.  Also, once I have clicked on the
"Navigate/Open Navi..." button, the UI becomes unresponsive, i.e.
"Pause" button, tabs (Object Editor, etc.) stop working, and can't
resize or move the UI.  I have to close the Python.exe console
window, or shut the program down in Task 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" <stanc@xxxxxxxxx>
To: <pygame-users@xxxxxxxx>
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, you cant interact with the main window. The new pygame window
has to be closed before normal interaction can be resumed (kinda
mimicing the dialog modal behaviour). The navigation console should
have 2 minimaps on the bottom right and left corner. Are this not
appearing for you?
Cheers


etrek wrote:
          
Does this work with Pygame 1.8.0?
Is the Navagation Console supposed to be on the same screen as the
Navagation menu?  Or is it supposed to open a new window (Pygame
window) with the 3D shapes?  All I see is a fuzzy dark circle on
the Navagation menu page.  The navagation keys, or clicking with
mouse just causes the circle to flicker.

Thanks,
etrek


----- Original Message ----- From: "Astan Chee" <stanc@xxxxxxxxx>
To: <pygame-users@xxxxxxxx>
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 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 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 example
somewhere of how to do this?
              
* When time is paused, keys aren't repeating, so you can only
turn by
mouse or by pounding the key like mad.

                
Ah, I didnt notice that. I'll fix it in the next version as well
as a text based manual. Let me know if its too confusing.
Thanks again
Astan

-- 
"Formulations of number theory: Complete, Consistent, Non-trivial.
Choose two."


Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or
privileged. If you are not the intended recipient of this email,
you must not disclose or use the information contained in it.
Please notify the sender immediately and delete this document if
you have received it in error. We do not guarantee this email is
error or virus free.



              
            
-- 
"Formulations of number theory: Complete, Consistent, Non-trivial.
Choose two."


Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or
privileged. If you are not the intended recipient of this email, you
must not disclose or use the information contained in it. Please
notify the sender immediately and delete this document if you have
received it in error. We do not guarantee this email is error or
virus free.



          
        

  

-- 
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information
contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.