SFML Game Development
Jan Haller, Henrik Vogelius Hansson, Artur Moreira
- 出版商: Packt Publishing
- 出版日期: 2013-06-01
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 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遊戲開發從窗口、圖形和用戶輸入的概述開始。在這個簡短的介紹之後,你將開始逐步掌握SFML,建立一個不同遊戲對象的世界,並實現越來越多的遊戲功能。最終,你將像老手一樣處理高級視覺效果、音頻效果和網絡編程。新的概念將被討論,同時代碼也在不斷發展。
SFML遊戲開發將讓你開始使用動畫、粒子效果和著色器。除了這些基本的遊戲方面,我們還涵蓋了網絡編程,以至於你將能夠支持從兩台不同的機器運行的遊戲。最重要的部分,敵人和導彈的遊戲實現,將構成我們頂部滾動飛機射擊遊戲的核心。
在SFML遊戲開發中,你將學到一切你需要的東西,以便開始遊戲開發,並更接近創建自己的遊戲。
從本書中你將學到:
- 學習SFML的基礎知識,並將飛機渲染到屏幕上
- 使用實體創建一個遊戲世界,並處理玩家的輸入
- 通過支持菜單、設置和其他狀態,使你的遊戲更豐富
- 實現GUI庫的基礎
- 填充世界,讓敵人互動
- 從硬盤加載資源,並了解資源管理
- 為遊戲對象添加動畫,構建粒子系統,並深入了解渲染的背後
- 為你的遊戲添加音樂和音效,創造沉浸式的遊戲體驗
- 通過網絡實現多人遊戲,在網絡上進行遊戲
這是一本快節奏、逐步指南的SFML遊戲開發書,為你提供了使用SFML 2.0創建第一個遊戲所需的所有知識和工具。