Pyglet vs. PyQt

Posted by L. De Leo on Game Development See other posts from Game Development or by L. De Leo
Published on 2012-10-10T23:11:19Z Indexed on 2012/10/11 9:53 UTC
Read the original article Hit count: 579

Filed under:
|
|

I need to implement a really simple card game. As the game logic is written in Python I chose to stick with some Python framework even if my goal is to develop a Windows only version. I also don't like to work with .NET so I ruled out Iron Python + WPF.

I tried to write a simple prototype with Pyglet but soon discovered that I will have to do a lot of stuff by hand: things like detecting mouseover events and finding which card was clicked on and moving it, etc... very low level and unnecessary for my use-case.

So I thought it might be easier to do things in PyQt. Do you reckon it would be feasible to use PyQt for implementing a simple card game? Will I have higher level events I can work with?

© Game Development or respective owner

Related posts about python

Related posts about qt