Instant Pygame for Python Game Development How-to

Ivan Idris

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-25
  • 售價: $950
  • 貴賓價: 9.5$903
  • 語言: 英文
  • 頁數: 76
  • 裝訂: Paperback
  • ISBN: 1782162860
  • ISBN-13: 9781782162865
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Create engaging and fun games with Pygame, Python's Game development library

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Quickly develop interactive games by utilizing features that give you a great user experience
  • Create your own games with realistic examples and easy to follow instructions
  • Learn about the game development process, from installing simple games to more complicated multiplayer games, ensuring compatibility with mobile devices

In Detail

Pygame is a library created to make multimedia software documenting easy to design. It adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the Python language. Pygame comes with functions and tools that will help you create a great user experience.

"Instant Pygame for Python Game Development How-to" is written in a concise and result-oriented format. Leading you through practical recipes, you'll find that this essential reference guide helps you to create visually appealing and thrilling games with a few clicks.

This book starts with the basic instructions to install Pygame on different servers. It then goes into creating a sample game and explaining the features of drawing, animating, using fonts and Matplotlib with Pygame. The book then takes you through recipes to get access to some great sound and graphic effects. Giving you the steps to allow you to configure these games on Android and other networks, it ends with a walkthrough of the features of Sprites, OpenGL, and Simulation.

What you will learn from this book

  • Install and prepare the basic setup to get started with the technology on various operating systems including Linux, Mac OS X, and Windows.
  • Learn how you can develop real- time multiplayer games and integrate them with social networks using Twisted
  • Overcome the limitations of mobile browsers allowing you to take full advantage of their various features with minimum hassle
  • Introduction to the drawing functionality of Pygame and getting into more dynamic animating functions
  • Understand and use Sprites, OpenGL , and detecting Collisions with Pygame
  • Interesting examples to understand Simulation and Animation
  • Display various fonts and learn more about the time and memory usage and its management
  • Integrate with the open source library, Matplotlib to create various interesting plots.
  • Accessg data to create excellent sound effects and music to go with the games

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks .This book is a step-by-step, short and fast paced tutorial packed with powerful recipes that will teach you how to create exciting games.

Who this book is written for

This book is aimed at Python Game Developers who want to create games with Pygame quickly and easily and get familiar with important aspects of it. Experience with Python is assumed. Basic Game development experience would help but isn't necessary.

商品描述(中文翻譯)

使用Pygame,Python的遊戲開發庫,創建引人入勝且有趣的遊戲。

概述:
- 在短時間內學習新知識!提供即時結果的短小、快速、專注指南。
- 通過利用提供出色用戶體驗的功能,快速開發互動遊戲。
- 通過實際示例和易於遵循的指示創建自己的遊戲。
- 了解遊戲開發過程,從安裝簡單遊戲到更複雜的多人遊戲,確保與移動設備兼容。

詳細內容:
Pygame是一個用於設計多媒體軟件的庫,使其易於設計。它在優秀的SDL庫之上添加了功能。這使您可以使用Python語言創建功能齊全的遊戲和多媒體程序。Pygame提供了幫助您創建出色用戶體驗的功能和工具。

《即時Pygame Python遊戲開發指南》以簡潔和結果導向的格式撰寫。通過實用的食譜引導您,您會發現這本重要的參考指南可以幫助您僅需幾個點擊即可創建視覺上吸引人且令人興奮的遊戲。

本書從在不同服務器上安裝Pygame的基本指令開始。然後介紹創建示例遊戲並解釋使用Pygame繪製、動畫、使用字體和Matplotlib的功能。接下來,本書通過食譜介紹了一些出色的聲音和圖形效果。本書還提供了配置這些遊戲在Android和其他網絡上的步驟,並以Sprites、OpenGL和Simulation的功能演示結束。

本書的學習重點:
- 在Linux、Mac OS X和Windows等各種操作系統上安裝和準備基本設置,開始使用該技術。
- 學習如何開發實時多人遊戲並將其與社交網絡集成,使用Twisted。
- 克服移動瀏覽器的限制,以最小的麻煩充分利用其各種功能。
- 介紹Pygame的繪圖功能,並進一步了解動態動畫功能。
- 理解並使用Sprites、OpenGL和Pygame中的碰撞檢測。
- 有趣的示例以了解模擬和動畫。
- 顯示各種字體,並了解時間和內存使用及其管理。
- 與開源庫Matplotlib集成,創建各種有趣的圖表。
- 存取數據以創建出色的音效和音樂,以配合遊戲。

方法:
本書充滿了實用的、逐步的指令和對最重要和最有用任務的清晰解釋。這本書是一本逐步、短小而快節奏的教程,充滿了強大的食譜,教您如何創建令人興奮的遊戲。

本書的讀者:
本書面向希望快速輕鬆地使用Pygame創建遊戲並熟悉其重要方面的Python遊戲開發人員。假設讀者具有Python經驗。基本的遊戲開發經驗會有所幫助,但不是必需的。