Book Image

Kivy Blueprints

By : Vasilkov
Book Image

Kivy Blueprints

By: Vasilkov

Overview of this book

This book is intended for programmers who are comfortable with the Python language and who want to build desktop and mobile applications with rich GUI in Python with minimal hassle. Knowledge of Kivy is not strictly required—every aspect of the framework is described when it's first used.
Table of Contents (12 chapters)
10
A. The Python Ecosystem
11
Index

Project overview

We're aiming to create a game conceptually similar to the original Flappy Bird, but with different visuals. It's unimaginatively called Kivy Bird. The end result is depicted as follows:

Project overview

Kivy Bird gameplay screenshot

Let's take a closer look at the game and dissect it into logical parts, creating a project outline that will be used for development:

  • Background: The scenery consists of a number of layers moving at different speeds, resulting in a neat fake depth (parallax effect). The movement is constant and not related to any game events; this makes the background an ideal starting point for the implementation.
  • Obstacles (pipes): This is a separate graphical layer that also advances towards the player at a constant speed. As opposed to the background, the pipes are procedurally adjusted to have different relative heights, keeping the gap between them passable for the player. A collision with a pipe ends the game.
  • Playable character (the bird): This sprite moves...