Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Kivy Blueprints
  • Toc
  • feedback
Kivy Blueprints

Kivy Blueprints

By : Vasilkov
3.7 (10)
close
Kivy Blueprints

Kivy Blueprints

3.7 (10)
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)
close
10
A. The Python Ecosystem
11
Index

Chapter 6. Making the 2048 Game

In the next few chapters, we will build a series of increasingly complex game projects to demonstrate some of the concepts commonly associated with game development: state management, controls, sound effects, and fast shader-based graphics, to name a few.

An important thing to consider upfront is that no approach is actually unique to game development: there are whole other classes of software that use the same algorithms and performance hacks as video games.

However, let's start small and gradually work our way to complex things. Our first project is re-implementing the relatively well-known 2048 board game.

This chapter will shed light on a number of Kivy techniques that are practically required when developing games:

  • Creating Kivy widgets with custom visual appearance and behavior
  • Drawing on canvas and utilizing built-in graphics instructions
  • Using absolute positioning to arrange widgets arbitrarily on screen (as opposed to relying on a structured...
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete