Contraz / demosys-py

A light high performance modern OpenGL 3.3+ Python Framework https://demosys-py.readthedocs.io/
ISC License
64 stars 5 forks source link

Consider adding pyglet or pygame windows #55

Closed einarf closed 6 years ago

einarf commented 6 years ago

We currently only support glfw.

It would be a great test adding PygletWindow or PygameWindow. Remember that key events needs to conform to the same standard as well. It would be nice to create one module for handling all input in a generic way.

It's also positive to support multiple ways to create a context other than headless.

einarf commented 6 years ago

Will also do this for 2.0.

Making a window using pyglet and considering making that default depending on how it performs. The advantage of using pyglet is simply that no external dependencies are needed. Having to install glfw on the side can be an extra hurdle for some people.

einarf commented 6 years ago

Done. Pyglet is also now the default window to make it easier for people.