Game Programming Using Qt: Beginner's Guide(Paperback)
暫譯: 使用 Qt 的遊戲程式設計:初學者指南(平裝本)

Witold Wysota, Lorenz Haas

  • 出版商: Packt Publishing
  • 出版日期: 2016-01-28
  • 售價: $2,410
  • 貴賓價: 9.5$2,290
  • 語言: 英文
  • 頁數: 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 中所有可用的工具和小部件創建從簡單 2D 到複雜 3D 的圖形和遊戲

  • 了解 QML、Qt Quick、OpenGL 和 Qt Creator 等技術,並學習最佳實踐以設計遊戲

  • 通過每章逐步介紹的多個示例遊戲來學習 Qt

本書適合誰


如果您想使用 Qt 創建出色的圖形用戶界面和驚人的遊戲,本書非常適合您。雖然不需要先前的 Qt 知識,但必須具備 C++ 的知識。

您將學到什麼



  • 在您的系統上安裝 Qt

  • 理解每個 Qt 遊戲和應用程序的基本概念

  • 使用 Qt Graphics View 開發 2D 面向對象的圖形

  • 使用 Qt 的網絡模塊構建多人遊戲或為您的遊戲添加聊天功能

  • 使用 Qt Script 編寫您的遊戲腳本

  • 使用 QML 和 Qt Quick 編程解析度獨立和流暢的 UI

  • 根據移動設備的傳感器控制您的遊戲流程

  • 了解如何使用 Qt Creator 和 Qt Test 輕鬆測試和調試您的遊戲

詳細內容


Qt 是領先的跨平台工具包,適用於所有主要的桌面、移動和嵌入式平台,並且在移動和嵌入式設備上日益受歡迎。儘管它簡單易用,但它是一個強大的工具,完美滿足遊戲開發者的需求。使用 Qt 和 Qt Quick,構建有趣的遊戲或華麗的用戶界面變得輕而易舉。您只需創建一次遊戲,便可在 iOS、Android 和 WinRT 等所有主要平台上部署,而無需更改任何源文件。


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

風格與方法


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