最新章節(jié)
- Index
- Summary
- Developing the game client
- Building our game server
- Shared code
- Use of copyrighted resources
品牌:中圖公司
上架時間:2021-07-23 14:33:45
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Index 更新時間:2021-07-23 14:55:33
- Summary
- Developing the game client
- Building our game server
- Shared code
- Use of copyrighted resources
- Chapter 14. Come Play with Us! – Multiplayer Subtleties
- Summary
- The chat client
- A simple chat application
- Implementing server
- The server class
- Implementing the client
- Designing the client class
- Creating a simple communication protocol
- Multi-threading
- Letting the traffic flow
- Basics of networking
- Chapter 13. We Have Contact! – Networking Basics
- Summary
- Integrating our code
- Implementing the sound system
- The sound listener component
- The sound emitter component
- Adding support for sound
- Managing sounds
- Defining sound properties
- Audio manager
- Sound spatialization
- Basics of SFML sound
- Preparing the project for sound
- Use of copyrighted resources
- Chapter 12. Can You Hear Me Now? – Sound and Music
- Summary
- Re-implementing the main menu
- Expanding the event manager
- Integrating the GUI system
- The scrollbar element
- The text field element
- The label element
- The GUI manager
- Chapter 11. Don't Touch the Red Button! – Implementing the GUI
- Summary
- The interface class
- Defining GUI events
- The core of all elements
- Font management
- Expansion of utility functions
- What is a GUI?
- Use of copyrighted resources
- Chapter 10. Can I Click This? – GUI Fundamentals
- Summary
- Handling collisions
- Animating the entities
- Adding entity movement
- Chapter 9. A Breath of Fresh Air – Entity Component System Continued
- Summary
- The new and improved map
- Putting the ECS to work
- Implementing the rendering system
- Managing systems
- Designing the systems
- Managing entities
- The entity component system
- What is a programming pattern?
- Use of copyrighted resources
- Chapter 8. The More You Know – Common Game Programming Patterns
- Summary
- Final editions to our code base
- Loading entities from the map file
- Adding enemies
- Using entities to build characters
- Entity storage and management
- The parent of all world objects
- Building the game world
- The game map
- Chapter 7. Rediscovering Fire – Common Game Design Elements
- Summary
- Introducing sprite sheets
- Automated resource management
- Using the SFML views
- Finding and using the current directory
- Use of copyrighted resources
- Chapter 6. Set It in Motion! – Animating and Moving around Your World
- Summary
- Common mistakes
- The means to pause
- A sample game state
- The main menu state
- Creating the intro state
- Incorporating the state manager
- Improving the Event Manager class
- Introducing the state pattern
- The most simplistic approach
- What is a state?
- Chapter 5. Can I Pause This? – Application States
- Summary
- Common mistakes
- Principles of use
- Moving a sprite revisited
- Integrating the Event Manager class
- Building the event manager
- Standard function wrapper
- Introducing the event manager
- Retrieving peripheral input
- Chapter 4. Grab That Joystick – Input and Event Management
- Summary
- Common mistakes
- Going the extra mile
- Fixing bugs
- Hunting bugs
- Time to integrate
- The World class
- The snake class
- Implementing the snake structure
- Game design decisions
- Introducing snake
- Chapter 3. Get Your Hands Dirty – What You Need to Know
- Summary
- Common mistakes
- Fixed time-step
- Using the SFML clock
- Hardware and execution time
- Building the game class
- Implementing the window class
- Graduating to ravioli
- Chapter 2. Give It Some Structure – Building the Game Framework
- Summary
- Common mistakes
- Drawing images in SFML
- Basics of SFML drawing
- Opening a window
- Resources and installation
- SFML licensing
- What is SFML?
- Chapter 1. It's Alive! It's Alive! – Setup and First Program
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權(quán)頁
- 封面
- 封面
- 版權(quán)頁
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. It's Alive! It's Alive! – Setup and First Program
- What is SFML?
- SFML licensing
- Resources and installation
- Opening a window
- Basics of SFML drawing
- Drawing images in SFML
- Common mistakes
- Summary
- Chapter 2. Give It Some Structure – Building the Game Framework
- Graduating to ravioli
- Implementing the window class
- Building the game class
- Hardware and execution time
- Using the SFML clock
- Fixed time-step
- Common mistakes
- Summary
- Chapter 3. Get Your Hands Dirty – What You Need to Know
- Introducing snake
- Game design decisions
- Implementing the snake structure
- The snake class
- The World class
- Time to integrate
- Hunting bugs
- Fixing bugs
- Going the extra mile
- Common mistakes
- Summary
- Chapter 4. Grab That Joystick – Input and Event Management
- Retrieving peripheral input
- Introducing the event manager
- Standard function wrapper
- Building the event manager
- Integrating the Event Manager class
- Moving a sprite revisited
- Principles of use
- Common mistakes
- Summary
- Chapter 5. Can I Pause This? – Application States
- What is a state?
- The most simplistic approach
- Introducing the state pattern
- Improving the Event Manager class
- Incorporating the state manager
- Creating the intro state
- The main menu state
- A sample game state
- The means to pause
- Common mistakes
- Summary
- Chapter 6. Set It in Motion! – Animating and Moving around Your World
- Use of copyrighted resources
- Finding and using the current directory
- Using the SFML views
- Automated resource management
- Introducing sprite sheets
- Summary
- Chapter 7. Rediscovering Fire – Common Game Design Elements
- The game map
- Building the game world
- The parent of all world objects
- Entity storage and management
- Using entities to build characters
- Adding enemies
- Loading entities from the map file
- Final editions to our code base
- Summary
- Chapter 8. The More You Know – Common Game Programming Patterns
- Use of copyrighted resources
- What is a programming pattern?
- The entity component system
- Managing entities
- Designing the systems
- Managing systems
- Implementing the rendering system
- Putting the ECS to work
- The new and improved map
- Summary
- Chapter 9. A Breath of Fresh Air – Entity Component System Continued
- Adding entity movement
- Animating the entities
- Handling collisions
- Summary
- Chapter 10. Can I Click This? – GUI Fundamentals
- Use of copyrighted resources
- What is a GUI?
- Expansion of utility functions
- Font management
- The core of all elements
- Defining GUI events
- The interface class
- Summary
- Chapter 11. Don't Touch the Red Button! – Implementing the GUI
- The GUI manager
- The label element
- The text field element
- The scrollbar element
- Integrating the GUI system
- Expanding the event manager
- Re-implementing the main menu
- Summary
- Chapter 12. Can You Hear Me Now? – Sound and Music
- Use of copyrighted resources
- Preparing the project for sound
- Basics of SFML sound
- Sound spatialization
- Audio manager
- Defining sound properties
- Managing sounds
- Adding support for sound
- The sound emitter component
- The sound listener component
- Implementing the sound system
- Integrating our code
- Summary
- Chapter 13. We Have Contact! – Networking Basics
- Basics of networking
- Letting the traffic flow
- Multi-threading
- Creating a simple communication protocol
- Designing the client class
- Implementing the client
- The server class
- Implementing server
- A simple chat application
- The chat client
- Summary
- Chapter 14. Come Play with Us! – Multiplayer Subtleties
- Use of copyrighted resources
- Shared code
- Building our game server
- Developing the game client
- Summary
- Index 更新時間:2021-07-23 14:55:33