So, after I've become a little tired of how sluggish my dear meowBG looks in its wxPython based implementation, I'm now planning to move the graphics parts entirely to kivy.
I'm especially looking forward to making the checkers fly smoothly across the board - the part that made my brain hurt in wxPython. It may be my lack of knowledge of wxPython, but animating widgets in kivy is just a walk in the park. Kivy's approach to animations is interesting: You define the animation independently of the widget it is applied to, and just specify the attributes that the animation will change. For instance, changing the position with an animation could work like this:
animation = Animation(pos=(100, 100), duration=0.2)animation.start(target_widget)
This would move the object behind target_widget to the position (100, 100) within a fifth of a second. And of course you could specify a callback function to be called when the animation has finished, by setting
animation.on_complete = your_callback_func
Sounds great, let me know when I can buy meowBG in the app store!
AntwortenLöschen