E-book details

Kivy: Interactive Applications in Python. For Python developers this is the clearest guide to the interactive world of Kivi, ideal for meeting modern expectations of tablets and smartphones. From building a UI to controlling complex multi-touch events, it's all here

Kivy: Interactive Applications in Python. For Python developers this is the clearest guide to the interactive world of Kivi, ideal for meeting modern expectations of tablets and smartphones. From building a UI to controlling complex multi-touch events, it's all here

Roberto Ulloa

Ebook
Mobiles and tablets have brought with them a dramatic change in the utility of applications. Compatibility has become essential, and this has increased the kind of interaction that users expect: gestures, multi-touches, animations, and magic pens. 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.

Kivy: Interactive Applications in Python quickly introduces you to the Kivy development methodology. You will learn some examples of how to use many of the Kivy components, as well as understand how to integrate and combine them into big projects. This book serves as a reference guide and is organized in such a way that once finished, you will have already completed your first project.

You will start by learning the Kivy Language for building User Interfaces (UI) and vector figures. We then proceed to the uses of Kivy events and properties to glue the UI with the application logic.

You then go on to build an entire User Interface (UI) starting from a hand-made sketch. Furthermore, you will go on to understand how to use the canvas and drawing instructions to create different types of geometrical figures. Finally, you will be introduced to a big set of interactive and smooth features: transformations (scale, rotate, and translate), gestures, animations, scheduling tasks, and multi-touch elements.

Kivy: Interactive Applications in Python expands your knowledge by introducing various components that improve the User Experience (UX). Towards the end of the book, you will be confident to utilize Kivy components and strategies to start any application or game you have in mind.
  • Kivy: Interactive Applications in Python
    • Table of Contents
    • Kivy: Interactive Applications in Python
    • Credits
    • About the Author
    • Acknowledgments
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. GUI Basics Building an Interface
      • Hello World!
      • Basic widgets labels and buttons
      • Layouts
      • Embedding layouts
      • Our Project comic creator
      • Summary
    • 2. Graphics The Canvas
      • Basic shapes
      • Images, colors, and backgrounds
      • Rotating, translating, and scaling
      • Comic creator PushMatrix and PopMatrix
      • Summary
    • 3. Widget Events Binding Actions
      • Attributes, id and root
      • Basic widget events dragging the stickman
      • Localizing coordinates adding stickmen
      • Binding and unbinding events sizing limbs and heads
      • Binding events in the Kivy language
      • Creating your own events the magical properties
      • Kivy and properties
      • Summary
    • 4. Improving the User Experience
      • Screen manager selecting colors for the figures
      • Color Control on the canvas coloring figures
      • StencilView limiting the drawing space
      • Scatter multitouching to drag, rotate, and scale
      • Recording gestures line, circles, and cross
      • Simple gestures drawing with the finger
      • Summary
    • 5. Invaders Revenge An Interactive Multitouch Game
      • Invaders Revenge an animated multitouch game
      • Atlas efficient management of images
      • Boom simple sound effects
      • Ammo simple animation
      • Invader transitions for animations
      • Dock automatic binding in the Kivy language
      • Fleet infinite concatenation of animations
      • Scheduling events with the Clock
      • Shooter multitouch control
      • Invasion moving the shooter with the keyboard
      • Combining animations with +' and '&'
      • Summary
    • Index
  • Title: Kivy: Interactive Applications in Python. For Python developers this is the clearest guide to the interactive world of Kivi, ideal for meeting modern expectations of tablets and smartphones. From building a UI to controlling complex multi-touch events, it's all here
  • Author: Roberto Ulloa
  • Original title: Kivy: Interactive Applications in Python. For Python developers this is the clearest guide to the interactive world of Kivi, ideal for meeting modern expectations of tablets and smartphones. From building a UI to controlling complex multi-touch events, it's all here.
  • ISBN: 9781783281602, 9781783281602
  • Date of issue: 2013-09-25
  • Format: Ebook
  • Item ID: e_3cr2
  • Publisher: Packt Publishing