Cargando…

Kivy : interactive applications and games in Python : create responsive cross-platform UI/UX applications and games in Python using the open source Kivy library. /

If you are a Python developer who wants to create exciting and dynamic UI/UX applications that are compatible with multiple platforms, then this is the book for you. No prior experience with Kivy is required, although you should be familiar with Python and have a fair understanding of software engin...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ulloa, Roberto (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, England ; Mumbai [India] : Packt Publishing, 2015.
Edición:Second edition.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: GUI Basics
  • Building an Interface; Basic interface
  • Hello World!; Basic widgets
  • labels and buttons; Layouts; Embedding layouts; PageLayout
  • swiping pages; Our project
  • Comic Creator; Summary; Chapter 2: Graphics
  • The Canvas; Understanding the canvas; Drawing basic shapes; Adding images, colors, and backgrounds; Structuring graphic instructions; Rotating, translating, and scaling the coordinate space; Comic Creator: PushMatrix and PopMatrix; Summary
  • Chapter 3: Widget Events
  • Binding ActionsAttributes, 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 its properties; Summary; Chapter 4: Improving the User Experience; ScreenManager
  • selecting colors for the figures; Color control on the canvas
  • coloring figures; StencilView
  • limiting the drawing space; Scatter
  • multi-touching to drag, rotate, and scale
  • Recording gestures
  • line, circle, and crossRecognizing gestures
  • drawing with the finger; Behaviors
  • enhancing widgets functionality; Style
  • decorating the interface; Factory
  • replacing a vertex instruction; Summary; Chapter 5: Invaders Revenge
  • an Interactive Multi-touch Game; Invaders Revenge
  • an animated multi-touch game; Atlas
  • An 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
  • multi-touch controlInvasion
  • moving the shooter with the keyboard; Combining animations with '+' and ' & '; Summary; Chapter 6: Kivy Player
  • A TED Video Streamer; Video
  • play, pause, and stop; AsyncImage
  • creating a cover for the video; Subtitles
  • tracking the video progression; Control bar
  • adding buttons to control the video; Slider
  • including a progression bar; Animation
  • hiding a widget; Kivy inspector
  • debugging interfaces; ActionBar
  • a responsive bar; LoadDialog
  • displaying a directory of files; ScrollView
  • displaying a list of videos
  • Search
  • query the TED Developer APISummary; Index