Book Image

Kivy Blueprints

Book Image

Kivy Blueprints

Overview of this book

Table of Contents (17 chapters)
Kivy Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
The Python Ecosystem
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:

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 only vertically...