Thanks for the tip!
The issue with the sprite was my own fault. Sorry 'bout that....

Keep up the good work!

2B

On Mar 23, 6:21 pm, "Richard Jones" <[EMAIL PROTECTED]> wrote:
> On Sun, Mar 23, 2008 at 10:18 AM, Berco Beute <[EMAIL PROTECTED]> wrote:
> > Which method should I use to load an image?
>
> That depends on where how you wish to locate the image. I suggest you have a
> look at the programming guide description of the resources module:
>
> http://www.pyglet.org/doc/1.1/programming_guide/application_resources...
>
> > The API says:
>
> > 1. docs for pyglet.sprite:
> > pyglet.resource.image('img.jpg')
>
> I've patched that to use the more direct form (pyglet.image.load) to reduce
> the confusion.
>
> > 2. docs for pyglet.image:
> > pyglet.image.load('img.jpg')
>
> > The former doesn't seem to work when creating a sprite.
>
> BTW, please always include actual code and the error you received. "doesn't
> work" is not useful :)
>
>        Richard
--~--~---------~--~----~------------~-------~--~----~
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