万本电子书0元读

万本电子书0元读

顶部广告

Getting Started with Kivy电子书

售       价:¥

8人正在读 | 0人评论 9.8

作       者:Roberto Ulloa

出  版  社:Packt Publishing

出版时间:2013-09-25

字       数:22.0万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
into the world of Kivy.This book is aimed at Python developers who are familiar with Python and have a good understanding of concepts like inheritance, classes, and instances. No previous experience of Kivy is required, though some knowledge of event handling, scheduling, and user interfaces, in general, would boost your learning.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部