On Sunday 09 December 2007 17:14:17 brian.grogan.jr wrote:
> > I've been slowly moving to Pyglet as well :)
>
> Well what are you waiting for? Pyglet is great! The water's fine. Jump
> in.

hehe.  By 'slowly' I mean that everything new that I write is using pyglet.  
But other things that have been in development for a while that still use 
pygame for display and events.  (My plan is to move them to pyglet; it just 
hasn't happened yet.)

> > And I think that rabbyt.init_display() sends a wrong impression. I should
> > have named it 'init_pygame_display' or left it out entirely.
>
> It does because it calls to mind the Pygame way of doing things. I'm
> not that familiar with the internals of Rabbyt, but is there a
> particularly important reason why you have that function in the first
> place? It seems sort of redundant, or unnecessary.

I wanted it to be possible to use rabbyt without an opengl wrapper.  (I was a 
little frustrated with PyOpenGL at the time.)  Originally it handled setting 
the viewport and default opengl attributes, but now it just saves four lines 
of boilerplate :P  Yeah, it needs to be deprecated.

> Same goes for the fonts module you included. Are you writing a sprite
> library or a font/text rendering library? Focus! 

That was due to needing... uh... font sprites...   Yeah, I don't have much of 
an excuse here.  It should have been an example for the vertexarray module.  
(Which I'll be removing as well...)

> > I just added support for using pyglet textures.  Anything else you would
> > like?
>
> I'll get back to you with a little more detail on that, but for now,
> my big time nitpick with Rabbyt is that creating a Sprite object
> should be just as convenient with Pyglet as it is with Pygame. I
> should be able to pass in the name string of a PNG, and get a fully
> functional Sprite with nothing else to worry about, just like you can
> with Pygame right now.

Wish granted :)  It'll automatically use pyglet if pyglet is importable and 
pyglet.gl.get_current_context() does not return None.

MWM

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to