SFML Game Development
暫譯: SFML 遊戲開發
Jan Haller, Henrik Vogelius Hansson, Artur Moreira
- 出版商: Packt Publishing
- 出版日期: 2013-06-01
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 296
- 裝訂: Paperback
- ISBN: 1849696845
- ISBN-13: 9781849696845
海外代購書籍(需單獨結帳)
商品描述
If you've got a firm grasp of C++ with a secret hankering to create a great game, this book is for you. Every practical aspect of programming an interactive game world is here - the only real limit is your imagination.
Overview
- Develop a complete game throughout the book
- Learn how to use modern C++ styles to create a fully optimized game and support for all major operating systems
- Fully network your game for awesome multiplayer action
- Step-by-step guide to developing your game using C++ and SFML
In Detail
Game development comprises the combination of many different aspects such as game logics, graphics, audio, user input, physics and much more. SFML is an Open Source C++ library designed to make game development more accessible, exposing multimedia components to the user through a simple, yet powerful interface.
If you are a C++ programmer with a stack of ideas in your head and seeking a platform for implementation, your search ends here.
Starting with nothing more than a blank screen, SFML Game Development will provide you with all the guidance you need to create your first fully featured 2D game using SFML 2.0. By the end, you'll have learned the basic principles of game development, including advanced topics such as how to network your game, how to utilize particle systems and much more.
SFML Game Development starts with an overview of windows, graphics, and user inputs. After this brief introduction, you will start to get to grips with SFML by building up a world of different game objects, and implementing more and more gameplay features. Eventually, you’ll be handling advanced visual effects, audio effects and network programming like an old pro. New concepts are discussed, while the code steadily develops.
SFML Game Development will get you started with animations, particle effects and shaders. As well as these fundamental game aspects, we’re also covering network programming to the extent where you’ll be able to support the game running from two different machines. The most important part, the gameplay implementation with enemies and missiles, will make up the core of our top-scrolling airplane shoot' em-up game!.
You will learn everything you need in SFML Game Development in order to start with game development and come closer to creating your own game.
What you will learn from this book
- Learn the basics of SFML and render an airplane to the screen.
- Create a game world to play in using entities and handle input from the player
- Make your game richer with support menus, settings, and other states
- Implement the foundation for a GUI library
- Populate the world with enemies and let them interact
- Load resources like textures from the hard drive and learn about resource management
- Animate the game object, build a particle system and look behind the scenes of rendering
- Add music and sound effects to your game to create an immersive gaming experience
- Implement multiplayer over a network to indulge in gameplay over the Internet
Approach
SFML Game Development is a fast-paced, step-by-step guide, providing you with all the knowledge and tools you need to create your first game using SFML 2.0
商品描述(中文翻譯)
如果你對 C++ 有扎實的掌握,並且渴望創造一款出色的遊戲,那麼這本書就是為你而寫的。書中涵蓋了編程互動遊戲世界的每一個實用面向——唯一真正的限制就是你的想像力。
**概述**
- 在整本書中開發一款完整的遊戲
- 學習如何使用現代 C++ 風格來創建一款完全優化的遊戲,並支持所有主要操作系統
- 完全網絡化你的遊戲,以實現精彩的多人遊玩
- 使用 C++ 和 SFML 的逐步指南來開發你的遊戲
**詳細內容**
遊戲開發包含了許多不同方面的組合,例如遊戲邏輯、圖形、音頻、用戶輸入、物理等。SFML 是一個開源的 C++ 庫,旨在使遊戲開發變得更加容易,通過簡單而強大的介面向用戶暴露多媒體組件。
如果你是一名 C++ 程序員,腦中有一堆創意並尋找實現的平台,那麼你的搜尋到此為止。
從一個空白的螢幕開始,SFML 遊戲開發將為你提供創建第一款完整功能 2D 遊戲所需的所有指導,使用 SFML 2.0。到最後,你將學會遊戲開發的基本原則,包括如何網絡化你的遊戲、如何利用粒子系統等進階主題。
SFML 遊戲開發首先介紹了視窗、圖形和用戶輸入。在這個簡短的介紹之後,你將開始熟悉 SFML,建立不同的遊戲物件世界,並實現越來越多的遊戲功能。最終,你將像老手一樣處理高級視覺效果、音頻效果和網絡編程。新概念將被討論,而代碼也會穩步發展。
SFML 遊戲開發將幫助你開始學習動畫、粒子效果和著色器。除了這些基本的遊戲方面,我們還將涵蓋網絡編程,讓你能夠支持遊戲在兩台不同機器上運行。最重要的部分,即敵人和導彈的遊戲實現,將構成我們的自上而下飛機射擊遊戲的核心!
你將在 SFML 遊戲開發中學到所有開始遊戲開發所需的知識,並更接近創造自己的遊戲。
**你將從這本書中學到什麼**
- 學習 SFML 的基本知識並將飛機渲染到螢幕上。
- 使用實體創建一個遊戲世界並處理玩家的輸入
- 使你的遊戲更豐富,支持菜單、設置和其他狀態
- 實現 GUI 庫的基礎
- 用敵人填充世界並讓它們互動
- 從硬碟加載資源,如紋理,並學習資源管理
- 動畫遊戲物件,建立粒子系統,並了解渲染的幕後
- 為你的遊戲添加音樂和音效,創造沉浸式的遊戲體驗
- 實現網絡上的多人遊玩,享受互聯網上的遊戲體驗
**方法**
SFML 遊戲開發是一個快速的逐步指南,為你提供創建第一款使用 SFML 2.0 的遊戲所需的所有知識和工具。