lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
154 stars 24 forks source link

Add background/motivation/comparison to docs #34

Open viblo opened 4 years ago

viblo commented 4 years ago

Just found out about wasabi2d so I havent had the chance to try it out yet. However from reading the docs it looks like its a really nice library with some interesting ideas behind!

One thing I am curious about is what your thoughts are about other python libraries filling a similar need, like pygame for example. How does wasabi2d compare to them, or the motivation to create it in the first place?

lordmauve commented 4 years ago

Good idea. I should write something about this.

My original motivation was to try to beat Pyglet's performance by using numpy, ModernGL and other native extensions. Then I wanted more modern features like built-in shaders, particles and lighting (lighting is not done but it will use code from My Sincerest Apologies). Then I wanted more convenience: I am used to writing games in a few lines of code with Pygame Zero. So I used Pygame Zero's input and sound APIs.

I don't know how I'm doing on performance; so far it's "fast enough" but I'm still building out the feature set (currently working on depth-sorted layers).

viblo commented 4 years ago

Ah, I see. For me I prefer the performance profile of pyglet/opengl compared to pygame so that make absolute sense.