3 ms·
Kivy has embedded Opengl, and is really easy to learn. You can make dashboards extremely easy, and video games with working physics engines in less than twenty
by usmeteora 9y ago
Kivy has embedded Opengl, and is really easy to learn. You can make dashboards extremely easy, and video games with working physics engines in less than twenty minutes. Overall, its basic settings are beautiful.
I havn't used Pygame but I don't consider Kivy to be heavy with alot of moving parts at all. Not to mention, unlike many Python libraries and platforms, this one has good documentation. Defined but simple and no handwaving techniques.
if you are familiar with Javascript, Kivy employs similiar callback like ideas, but not specific mechanism, to animate physics engines based on WebGL, which bind very nicely to it's widget resources.
In fact, if I had to choose a platform in which to teach middle school aged kids to code video games, Kivy would be it.
That being said, I've only used it for a desktop app kind of like in sandbox a environment. But in regards to your heavy comments, when it comes to Python, I honestly have to say anything build in Python when it comes to any type of SDL rendering, even scaled webapps, are limited for distributed systems and exponential scaling.
Python is great for learning, and college apps, and even dynamic languages for high level engineering analysis but when it comes to scaling for webapps or in maybe your case you are talking about RAM and power usage for phone apps, anything with Python is generally never a top choice.
If you think Kivy is hard, I recommend downloading it and going through one of their two tutorials, a ping pong game and a paint app.
I honestly can't see how you would think its heavy or overly complicated unless you are not familiar with widgets, or graphics period.
in general, OpenGl and WebGl is a definite win over strictly javascript based graphical rendering so if that is the gap that makes it complex, read up on OpenGl and WebGL because that is where the future is going even on the web.
- thehardsphere 9y agoYeah, I didn't get the sense that it was hard or overly complicated in the sense that I couldn't understand it. It was more that my impression was Kivy was adding quite a bit more than I wanted for the project I was considering using it for. So when deciding between, SDL2 in C/C++ (which I could totally do, but this was a side project for fun, so would I really want to if I didn't have to?), Pygame (which didn't support SDL2 at the time, which was a small problem), some of the other smaller python game libraries which look dead now, and Kivy, I didn't necessarily see the point in using Kivy if mobile wasn't a priority for me, which it wasn't.