IndexAboutWeblogRecipesProjectsLinksSearchRSS

Categories

ThadeusB python, ai, robots

My Impressions On Kivy

When I first heard about Kivy I was very excited about the project. “Finally, an easy way to write android applications with python!” I said.

Kivy has a lot of “magic” in the way it handles widgets. With this aside, I decided to attempt to create a simulation game in Kivy. I ended up porting these tutorials to Kivy. The code is located here.

There were a few gotchas with Kivy, the first being there is no line width on ellipse, so drawing the hallow circle requires drawing an ellipse for the border, and another ellipse smaller on the inside the same color as the background. Images would have probably been more efficient for this. Unfortunately, at the end of the tutorial, I created 30 agents and had them randomly change targets every 15 seconds. I installed this onto my Xoom tablet, which unfortunately slides to a screaming halt about 30 seconds into the Kivy application.

It seems that Kivy is great for its user interface, however it has some performance problems to be used in any real gaming application.