Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Kivy Blueprints

You're reading from   Kivy Blueprints Build your very own app-store-ready, multi-touch games and applications with Kivy!

Arrow left icon
Product type Paperback
Published in Jan 2015
Publisher Packt
ISBN-13 9781783987849
Length 282 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Vasilkov Vasilkov
Author Profile Icon Vasilkov
Vasilkov
Arrow right icon
View More author details
Toc

Summary


In this chapter, we made a small Kivy game from simple building blocks such as canvas instructions and widgets.

As a UI toolkit, Kivy gets many things right and its remarkable flexibility allows you to build pretty much anything, be it another boring Twitter client or a video game. One aspect that deserves special mention is Kivy's implementation of properties—these are immensely helpful to organize data flow across the board and help us to effectively eliminate useless updates (such as redraws in the absence of changed properties).

Another thing about Kivy that may be surprising and counterintuitive at first is its relatively high performance—especially since Python isn't exactly famous for being extremely quick. This is partly because low-level subsystems in Kivy are written in Cython and compiled to a blazing fast machine code, with performance levels about the same as, for example, the C language. Also, the use of hardware-accelerated graphics all but guarantees smooth animations...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images