On 9/1/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
>
> Andre Roberge wrote:
> > On 9/1/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
> >
> >> Andre Roberge wrote:
> >>
> >>> pyglet works well using Crunchy ;-) (code.google.com/p/crunchy) I am
> >>> in the process of writing a crunchy-ready pyglet tutorial, learning
> >>> pyglet as I go along.
> >>>
> >>>
> >> That's really neat, thanks for the note! My only problem was the dir()
> >> list that pops up obscures the input box (because pyglet classes are
> >> quite large). Perhaps you could hide the private identifiers by default?
> >>
> >>
> > Thank you for pointing this out.
> > I'm using the Python built-in dir() so I don't think I could easily
> > change its behavior. However, I will look at the possibility of
> > making the popup window resizable
> Something like
>
> filter(lambda a: not a.startswith('_'), dir(thing))
>
> or
>
> [a for a in dir(thing) if not a.startswith('_')]
>
> ..depending on which direction your mind works :-)
My mind works better with the second suggestion - Thank you!
I've implemented this change in addition to making the popup window
resizable. It does make the tooltip more useful.
For those interested, a *very early* version of the pyglet tutorial I
am writing can be found at
http://sylvester.cheschire.googlepages.com/roadmap.html
It is designed to be read/interacted with Crunchy - otherwise, it will
be rather bland looking. Also, it really should be viewed with the
latest version of Crunchy (branches/andre/...). However, if you do,
you will need to enter the following line at an interpreter prompt
before browsing
the tutorial
crunchy.site_security['sylvester.cheschire'] = 'normal'
due to the new security features of Crunchy.
When a new release of Crunchy is available *AND* when the pyglet
tutorial is more advanced, I will make an announcement on this list.
In the meantime, if any of you looks at the tutorial (keeping in mind
it is a very early version - and that I have never written a complete
game myself [yet] ;-), feel free to send comments by private email.
André
>
> Alex.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---