SDL Game Development(Paperback)
暫譯: SDL 遊戲開發(平裝本)

Shaun Mitchell

  • 出版商: Packt Publishing
  • 出版日期: 2013-04-18
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1849696829
  • ISBN-13: 9781849696821
  • 海外代購書籍(需單獨結帳)

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

商品描述

BLACK & WHITE EDITION

If you're good with C++ and object oriented programming, this book utilizes your skills to create 2D games using the Simple DirectMedia Layer API. Practical tutorials include the development of two wickedly good games.

Overview

  • Create 2D reusable games using the new SDL 2.0 and C++ frameworks
  • Become proficient in speeding up development time
  • Create two fully-featured games with C++ which include a platform game and a 2D side scrolling shooter
  • An engaging and structured guide to develop your own game

In Detail

SDL 2.0 is the latest release of the popular Simple DirectMedia Layer API, which is designed to make life easier for C++ developers, allowing you simple low-level access to various multiplatform audio, graphics, and input devices.

SDL Game Development guides you through creating your first 2D game using SDL and C++. It takes a clear and practical approach to SDL game development, ensuring that the focus remains on creating awesome games.

Starting with the installation and setup of SDL, you will quickly become familiar with useful SDL features, covering sprites, state management, and OOP, leading to a reusable framework that is extendable for your own games. SDL Game Development culminates in the development of two exciting action games that utilize the created framework along with tips to improve the framework.

What you will learn from this book

  • Draw in SDL and build the SDL_image extension
  • Develop reusable classes
  • Get to grips with game related object-oriented programming
  • Integrate a variety of user inputs into your games, such as joysticks or keyboards
  • Use factories that enable us to create objects dynamically at runtime
  • Create 2D maps through the use of tiles
  • Easily apply the framework to different game genres
  • Understand the scrolling of a tile map using the position of the player and collision detection

Approach

Written as a practical and engaging tutorial, SDL Game Development guides you through the development of your own framework and the creation of two exciting, fully-featured games.

Who this book is written for

SDL Game Development is aimed at C++ developers who want to learn the fundamentals of SDL for cross-platform game development. This isn't a beginner's guide to C++, so a good knowledge of C++ and object oriented programming is a must.

商品描述(中文翻譯)

黑白版

如果你擅長 C++ 和物件導向程式設計,本書將利用你的技能使用 Simple DirectMedia Layer API 創建 2D 遊戲。實用的教程包括開發兩款極具趣味的遊戲。

概述

  • 使用新的 SDL 2.0 和 C++ 框架創建可重用的 2D 遊戲
  • 熟練加快開發時間
  • 使用 C++ 創建兩款功能完整的遊戲,包括一款平台遊戲和一款 2D 橫向捲軸射擊遊戲
  • 一個引人入勝且結構化的指南,幫助你開發自己的遊戲

詳細內容

SDL 2.0 是流行的 Simple DirectMedia Layer API 的最新版本,旨在為 C++ 開發者提供便利,讓你能夠簡單地低層次訪問各種多平台的音頻、圖形和輸入設備。

《SDL 遊戲開發》將指導你使用 SDL 和 C++ 創建你的第一款 2D 遊戲。它採取清晰且實用的方法進行 SDL 遊戲開發,確保重點放在創建精彩的遊戲上。

從 SDL 的安裝和設置開始,你將迅速熟悉有用的 SDL 功能,涵蓋精靈、狀態管理和物件導向程式設計,最終形成一個可重用的框架,便於擴展到你自己的遊戲。《SDL 遊戲開發》最終將發展為兩款刺激的動作遊戲,這些遊戲利用所創建的框架並提供改進框架的建議。

你將從本書中學到什麼

  • 在 SDL 中繪圖並構建 SDL_image 擴展
  • 開發可重用的類別
  • 掌握與遊戲相關的物件導向程式設計
  • 將各種用戶輸入整合到你的遊戲中,例如搖桿或鍵盤
  • 使用工廠模式,讓我們能夠在運行時動態創建物件
  • 通過使用瓷磚創建 2D 地圖
  • 輕鬆將框架應用於不同的遊戲類型
  • 理解使用玩家位置和碰撞檢測來滾動瓷磚地圖

方法

《SDL 遊戲開發》以實用且引人入勝的教程形式撰寫,指導你開發自己的框架並創建兩款刺激的功能完整的遊戲。

本書的讀者對象

《SDL 遊戲開發》針對希望學習 SDL 基礎知識以進行跨平台遊戲開發的 C++ 開發者。這不是一本 C++ 的初學者指南,因此必須具備良好的 C++ 和物件導向程式設計知識。

最後瀏覽商品 (20)