Here's how I call it:
label = pyglet.text.Label(text,
font_name='Georgia',
font_size=8,
x=x, y=y,
anchor_x='center', anchor_y='center',
batch=text_batch)
text_batch is an object that has been made by the following call:
text_batch = pyglet.graphics.Batch()
It takes an average of 13 milliseconds to execute that line. Each label
contains only about 10 characters (the longest one is 22 characters long).
The equivalent in Pygame is much, much faster, so I'm wondering if maybe
I'm doing something wrong/something is wrong with the configuration on my
machine.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.