Bypassing the event loop may give you other issues, like extreme CPU usage. If you're interested, I rewrote the pyglet scheduler to use a heap queue instead of sorted list and got a nice performance boost with several hundred sprites/scheduled events. I'll clean up my code and post it if you want to try it out.
On Saturday, October 3, 2015 at 11:15:53 AM UTC-5, Salvakiya wrote: > > Is there a way I can avoid using the Pyglet.app.run()? I hate the way > pyglet schedules events and I tend to run into performance issues quite > quickly. I was hoping to avoid using them and create my own system for the > gameloop. > -- 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 pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.