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 8. Introducing Shaders

Congratulations on making it this far! The last two chapters will somewhat stand out from the rest of the book, as we will take a completely different perspective on Kivy and dive into low-level details of the OpenGL renderer, such as the OpenGL Shading Language (GLSL). This will allow us to write high-performance code with very little overhead.

Starting from an unscientific introduction to OpenGL, we will proceed to writing a fast sprite-based engine for a starfield demonstration (basically, a screensaver) and finally, a shoot-em-up game (commonly abbreviated as just shmup). The code from this chapter will serve as a basis for the next one, unlike other projects in this book that were largely self-contained. We will lay the foundation here and then build upon it in the next chapter, turning a technical demo into a playable game.

This chapter attempts to cover many complex topics with a sufficient level of detail, but it is way too short to serve as...

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