Mastering SFML Game Development

Raimondas Pupius

  • 出版商: Packt Publishing
  • 出版日期: 2017-01-31
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 442
  • 裝訂: Paperback
  • ISBN: 178646988X
  • ISBN-13: 9781786469885
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Key Features

  • Build custom tools, designed to work with your specific game.
  • Use raw modern OpenGL and go beyond SFML.
  • Revamp your code for better structural design, faster rendering, and flashier graphics.
  • Use advanced lighting techniques to add that extra touch of sophistication.
  • Implement a very fast and efficient particle system by using a cache-friendly design.

Book Description

SFML is a cross-platform software development library written in C++ with bindings available for many programming languages. It provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications.

This book will help you become an expert of SFML by using all of its features to its full potential. It begins by going over some of the foundational code necessary in order to make our RPG project run. By the end of chapter 3, we will have successfully picked up and deployed a fast and efficient particle system that makes the game look much more ‘alive’. Throughout the next couple of chapters, you will be successfully editing the game maps with ease, all thanks to the custom tools we’re going to be building. From this point on, it’s all about making the game look good. After being introduced to the use of shaders and raw OpenGL, you will be guided through implementing dynamic scene lighting, the use of normal and specular maps, and dynamic soft shadows. However, no project is complete without being optimized first. The very last chapter will wrap up our project by making it lightning fast and efficient.

What you will learn

  • Dive deep into creating complex and visually stunning games using SFML, as well as advanced OpenGL rendering and shading techniques
  • Build an advanced, dynamic lighting and shadowing system to add an extra graphical kick to your games and make them feel a lot more dynamic
  • Craft your own custom tools for editing game media, such as maps, and speed up the process of content creation
  • Optimize your code to make it blazing fast and robust for the users, even with visually demanding scenes
  • Get a complete grip on the best practices and industry grade game development design patterns used for AAA projects

About the Author

Raimondas Pupius is a game development enthusiast from Lithuania, currently working towards getting a degree in software engineering, as well as a few projects of his own. Having started his unofficial education in this field at the age of 9 and being introduced to video games even prior to that has guided him to this particular career choice, which was only strengthened by the experience earned from his first book “SFML Game Development By Example”. The ultimate dream is, of course, starting a company of his own and making professional games for a living. His other interests include web development, which was his primary interest before game development, music and linguistics.

Table of Contents

  1. Under the Hood - Setting up the Backend
  2. Its Game Time! - Designing the Project
  3. Make It Rain! - Building a Particle System
  4. Have Thy Gear Ready - Building Game Tools
  5. Filling the Tool Belt - a few More Gadgets
  6. Adding Some Finishing Touches - Using Shaders
  7. One Step Forward, One Level Down - OpenGL Basics
  8. Let There Be Light - An Introduction to Advanced Lighting
  9. The Speed of Dark - Lighting and Shadows
  10. A Chapter You Shouldn't Skip - Final Optimizations

商品描述(中文翻譯)

關鍵特點
- 建立自訂工具,專為您的特定遊戲設計。
- 使用原生的現代 OpenGL,超越 SFML。
- 改進您的程式碼,以獲得更好的結構設計、更快的渲染和更炫的圖形。
- 使用先進的照明技術,增添額外的精緻感。
- 通過使用快取友好的設計,實現一個非常快速且高效的粒子系統。

書籍描述
SFML 是一個用 C++ 編寫的跨平台軟體開發庫,並提供多種程式語言的綁定。它提供了一個簡單的介面來訪問您電腦的各種組件,以簡化遊戲和多媒體應用程式的開發。

本書將幫助您充分利用 SFML 的所有功能,成為 SFML 的專家。書中首先介紹了一些基礎程式碼,以使我們的 RPG 專案運行。在第三章結束時,我們將成功地建立並部署一個快速且高效的粒子系統,使遊戲看起來更加「生動」。在接下來的幾章中,您將輕鬆編輯遊戲地圖,這都要歸功於我們將要建立的自訂工具。從這一點開始,重點就是讓遊戲看起來更好。在介紹了著色器和原生 OpenGL 的使用後,您將學習如何實現動態場景照明、使用法線圖和高光圖,以及動態柔和陰影。然而,沒有經過優化的專案是無法完成的。最後一章將通過使專案變得快速且高效來總結我們的專案。

您將學到的內容
- 深入創建複雜且視覺驚豔的遊戲,使用 SFML 以及先進的 OpenGL 渲染和著色技術。
- 建立一個先進的動態照明和陰影系統,為您的遊戲增添額外的圖形效果,使其感覺更加動態。
- 為編輯遊戲媒體(如地圖)製作自訂工具,加快內容創建的過程。
- 優化您的程式碼,使其在視覺要求高的場景中也能快速且穩定。
- 完全掌握 AAA 專案中使用的最佳實踐和行業級遊戲開發設計模式。

關於作者
Raimondas Pupius 是來自立陶宛的遊戲開發愛好者,目前正在攻讀軟體工程學位,並有幾個自己的專案。自 9 歲起,他便開始在這個領域進行非正式的學習,並在此之前就接觸了電子遊戲,這引導他選擇了這條職業道路,而他在第一本書《SFML Game Development By Example》中獲得的經驗更是加強了這一決定。他的終極夢想當然是創辦自己的公司,並以製作專業遊戲為生。他的其他興趣包括網頁開發(這是他在遊戲開發之前的主要興趣)、音樂和語言學。

目錄
1. 內部運作 - 設定後端
2. 遊戲時間! - 設計專案
3. 讓它下雨! - 建立粒子系統
4. 準備好裝備 - 建立遊戲工具
5. 補充工具帶 - 更多小工具
6. 添加一些修飾 - 使用著色器
7. 一步向前,一級向下 - OpenGL 基礎
8. 讓光明來臨 - 先進照明介紹
9. 黑暗的速度 - 照明與陰影
10. 不應該跳過的一章 - 最終優化