Game Programming Using Qt: Beginner's Guide(Paperback)

Witold Wysota, Lorenz Haas

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-28
  • 售價: $2,220
  • 貴賓價: 9.5$2,109
  • 語言: 英文
  • 頁數: 512
  • 裝訂: Paperback
  • ISBN: 1782168877
  • ISBN-13: 9781782168874
  • 相關分類: Qt
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

A complete guide to designing and building fun games with Qt and Qt Quick 2 using associated toolsets

About This Book

  • Learn to create simple 2D to complex 3D graphics and games using all possible tools and widgets available for game development in Qt
  • Understand technologies such as QML, Qt Quick, OpenGL, and Qt Creator, and learn the best practices to use them to design games
  • Learn Qt with the help of many sample games introduced step-by-step in each chapter

Who This Book Is For

If you want to create great graphical user interfaces and astonishing games with Qt, this book is ideal for you. Any previous knowledge of Qt is not required, however knowledge of C++ is mandatory.

What You Will Learn

  • Install Qt on your system
  • Understand the basic concepts of every Qt game and application
  • Develop 2D object-oriented graphics using Qt Graphics View
  • Build multiplayer games or add a chat function to your games with Qt's Network module
  • Script your game with Qt Script
  • Program resolution-independent and fluid UI using QML and Qt Quick
  • Control your game flow as per the sensors of a mobile device
  • See how to test and debug your game easily with Qt Creator and Qt Test

In Detail

Qt is the leading cross-platform toolkit for all significant desktop, mobile, and embedded platforms and is becoming more popular by the day, especially on mobile and embedded devices. Despite its simplicity, it's a powerful tool that perfectly fits game developers' needs. Using Qt and Qt Quick, it is easy to build fun games or shiny user interfaces. You only need to create your game once and deploy it on all major platforms like iOS, Android, and WinRT without changing a single source file.

The book begins with a brief introduction to creating an application and preparing a working environment for both desktop and mobile platforms. It then dives deeper into the basics of creating graphical interfaces and Qt core concepts of data processing and display before you try creating a game. As you progress through the chapters, you'll learn to enrich your games by implementing network connectivity and employing scripting. We then delve into Qt Quick, OpenGL, and various other tools to add game logic, design animation, add game physics, and build astonishing UI for the games. Towards the final chapters, you'll learn to exploit mobile device features such as accelerators and sensors to build engaging user experiences. If you are planning to learn about Qt and its associated toolsets to build apps and games, this book is a must have.

Style and approach

This is an easy-to-follow, example-based, comprehensive introduction to all the major features in Qt. The content of each chapter is explained and organized around one or multiple simple game examples to learn Qt in a fun way.

商品描述(中文翻譯)

一本完整指南,教你使用Qt和Qt Quick 2以及相關工具集設計和構建有趣的遊戲。

關於本書:
- 學習使用Qt中遊戲開發的所有可能工具和小部件,從簡單的2D到複雜的3D圖形和遊戲。
- 瞭解QML、Qt Quick、OpenGL和Qt Creator等技術,並學習使用它們設計遊戲的最佳實踐。
- 通過每個章節逐步介紹的許多示例遊戲,學習Qt的使用。

本書適合對使用Qt創建出色的圖形用戶界面和驚人遊戲有興趣的讀者。不需要先前的Qt知識,但需要具備C++知識。

你將學到:
- 在系統上安裝Qt。
- 瞭解每個Qt遊戲和應用程序的基本概念。
- 使用Qt Graphics View開發2D面向對象的圖形。
- 使用Qt的網絡模塊構建多人遊戲或為遊戲添加聊天功能。
- 使用Qt Script編寫遊戲腳本。
- 使用QML和Qt Quick編寫分辨率獨立和流暢的用戶界面。
- 根據移動設備的傳感器控制遊戲流程。
- 使用Qt Creator和Qt Test輕鬆測試和調試遊戲。

Qt是一個跨平台工具包,適用於所有重要的桌面、移動和嵌入式平台,尤其在移動和嵌入式設備上越來越受歡迎。儘管它簡單易用,但它是一個功能強大的工具,非常適合遊戲開發人員的需求。使用Qt和Qt Quick,您可以輕鬆構建有趣的遊戲或華麗的用戶界面。您只需要創建一次遊戲,然後在iOS、Android和WinRT等主要平台上部署,而無需更改任何源文件。

本書首先簡要介紹了創建應用程序和為桌面和移動平台準備工作環境。然後深入介紹了創建圖形界面的基礎知識和Qt核心數據處理和顯示概念,然後嘗試創建遊戲。隨著章節的進展,您將學習通過實現網絡連接和使用腳本來豐富遊戲。然後,我們深入研究Qt Quick、OpenGL和其他各種工具,以添加遊戲邏輯、設計動畫、添加遊戲物理效果並構建令人驚嘆的用戶界面。在最後幾章中,您將學習利用移動設備的加速器和傳感器來創建引人入勝的用戶體驗。如果您計劃學習Qt及其相關工具集來構建應用程序和遊戲,本書是必不可少的。

本書以易於理解、基於示例的方式全面介紹了Qt的所有主要功能。每個章節的內容都圍繞一個或多個簡單的遊戲示例進行解釋和組織,以有趣的方式學習Qt。