Kivy Interactive Applications in Python

Kivy Interactive Applications in Python: Create cross-platform UI/UX applications and games in Python

Download

Introduction

Mobile devices have changed the way applications are perceived. They have increased in interaction types, the user expects gestures, multi-touches, animations, and magic-pens. Moreover, compatibility has become a must-have if you want to avoid the barriers imposed by major Operative Systems. Kivy is an Open Source Python solution that covers these market needs with an easy to learn and rapid development approach. Kivy is growing fast and gaining attention as an alternative to the established developing platforms.

This book introduces you into the Kivy world, covering a large variety of important topics related to interactive application development. The components presented in this book were not only selected according to their usefulness for developing state-of-the- art applications, but also for serving as an example of broader Kivy functionalities. Following this approach, the book covers a big part of the Kivy library.

Instead of giving a detailed description of all the functions and properties, it provides you with examples to understand their use and how to integrate the two big projects that come with the book. The first one, the comic creator, exemplifies how to build a user interface, how to draw vector shapes in the screen, how to bind user interactions with pieces codes and other components related to improve the user experience. The second project, Invaders Revenge, is a very interactive game that introduces you to the use of animations, scheduling of tasks, keyboard events, and multi-touch control.

Occasionally the book explains some technical but important Kivy concepts that are related to the order and strategies used to draw in the screen. These explanations give the readers some insights into the Kivy internals that will help them solve potential problems when they are developing their own projects. Even though they are not necessary for the comprehension of the main topics of this book, they will become important lessons when the readers are implementing their own applications.

The book keeps the readers attention by stating small problems and their solutions. The sections are short and straightforward, making the learning process constant. These short sections will also serve as a reference when they finish the book. However, serving as a reference doesn't prevent the text from achieving the main goal, which is teaching with bigger projects that connects the small topics. At the end of the book, the readers will feel comfortable to start their own project.

What this book covers 
Chapter 1, GUI Basics – Building an Interface, introduces basic components and layouts of Kivy and how to integrate them through the Kivy Language.

Chapter 2, Graphics – The Canvas, explains the use of the canvas and how to draw vector figures on the screen.

Chapter 3, Widget Events - Binding Actions, teaches how to connect the interactions of the user through the interface with particular code inside the program.

Chapter 4, Improving the User Experience, introduces a collection of useful components to enrich the interaction of the user with the interface.

Chapter 5, Invaders Revenge – An Interactive Multitouch Game, introduces components and strategies to build highly interactive applications.
Share This