Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Programming
- Programming techniques
- SFML Game Development. 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
E-book details
Log in, If you're interested in the contents of the item.
SFML Game Development. 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
Artur Moreira, Henrik Vogelius Hansson, Jan Haller, Henrik Valter Vogelius, SFML
Ebook
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.
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.
- SFML Game Development
- Table of Contents
- SFML Game Development
- Credits
- Foreword
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- 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
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Making a Game Tick
- Introducing SFML
- Downloading and installation
- A minimal example
- A few notes on C++
- Developing the first game
- The Game class
- Game loops and frames
- Input over several frames
- Vector algebra
- Frame-independent movement
- Fixed time steps
- Other techniques related to frame rates
- Displaying sprites on the screen
- File paths and working directories
- Real-time rendering
- Adapting the code
- Summary
- Introducing SFML
- 2. Keeping Track of Your Textures Resource Management
- Defining resources
- Resources in SFML
- Textures
- Images
- Fonts
- Shaders
- Sound buffers
- Music
- A typical use case
- Graphics
- Audio
- Acquiring, releasing, and accessing resources
- An automated approach
- Finding an appropriate container
- Loading from files
- Accessing the textures
- Error handling
- Boolean return values
- Throwing exceptions
- Assertions
- Generalizing the approach
- Compatibility with sf::Music
- A special case sf::Shader
- Summary
- 3. Forge of the Gods Shaping Our World
- Entities
- Aircraft
- Alternative entity designs
- Rendering the scene
- Relative coordinates
- SFML and transforms
- Scene graphs
- Scene nodes
- Node insertion and removal
- Making scene nodes drawable
- Drawing entities
- Connecting entities with resources
- Aligning the origin
- Scene layers
- Updating the scene
- One step back absolute transforms
- The view
- Viewport
- View optimizations
- Resolution and aspect ratio
- View scrolling
- Zoom and rotation
- Landscape rendering
- SpriteNode
- Landscape texture
- Texture repeating
- Composing our world
- World initialization
- Loading the textures
- Building the scene
- Update and draw
- Integrating the Game class
- The run() method
- Summary
- Entities
- 4. Command and Control Input Handling
- Polling events
- Window events
- Joystick events
- Keyboard events
- Mouse events
- Getting the input state in real time
- Events and real-time input when to use which
- Delta movement from the mouse
- Playing nice with your application neighborhood
- A command-based communication system
- Introducing commands
- Receiver categories
- Command execution
- Command queues
- Handling player input
- Commands in a nutshell
- Implementing the game logic
- A general-purpose communication mechanism
- Customizing key bindings
- Why a player is not an entity
- Summary
- Polling events
- 5. Diverting the Game Flow State Stack
- Defining a state
- The state stack
- Adding states to StateStack
- Handling updates, input, and drawing
- Input
- Update
- Draw
- Delayed pop/push operations
- The state context
- Integrating the stack in the Application class
- Navigating between states
- Creating the game state
- The title screen
- Main menu
- Pausing the game
- The loading screen sample
- Progress bar
- ParallelTask
- Thread
- Concurrency
- Task implementation
- Summary
- 6. Waiting and Maintenance Area Menus
- The GUI hierarchy, the Java way
- Updating the menu
- The promised key bindings
- Summary
- 7. Warfare Unleashed Implementing Gameplay
- Equipping the entities
- Introducing hitpoints
- Storing entity attributes in data tables
- Displaying text
- Creating enemies
- Movement patterns
- Spawning enemies
- Adding projectiles
- Firing bullets and missiles
- Homing missiles
- Picking up some goodies
- Collision detection and response
- Finding the collision pairs
- Reacting to collisions
- An outlook on optimizations
- An interacting world
- Cleaning everything up
- Out of view, out of the world
- The final update
- Victory and defeat
- Summary
- Equipping the entities
- 8. Every Pixel Counts Adding Visual Effects
- Defining texture atlases
- Adapting the game code
- Low-level rendering
- OpenGL and graphics cards
- Understanding render targets
- Texture mapping
- Vertex arrays
- Particle systems
- Particles and particle types
- Particle nodes
- Emitter nodes
- Affectors
- Embedding particles in the world
- Animated sprites
- The Eagle has rolled!
- Post effects and shaders
- Fullscreen post effects
- Shaders
- The bloom effect
- Summary
- Defining texture atlases
- 9. Cranking Up the Bass Music and Sound Effects
- Music themes
- Loading and playing
- Use case In-game themes
- Sound effects
- Loading, inserting, and playing
- Removing sounds
- Use case GUI sounds
- Sounds in 3D space
- The listener
- Attenuation factor and minimum distance
- Positioning the listener
- Playing spatial sounds
- Use case In-game sound effects
- Summary
- Music themes
- 10. Company Atop the Clouds Co-op Multiplayer
- Playing multiplayer games
- Interacting with sockets
- TCP
- UDP
- Socket selectors
- Custom protocols
- Data transport
- Network architectures
- Peer-to-peer
- Client-server architecture
- Authoritative servers
- Creating the structure for multiplayer
- Working with the Server
- Server thread
- Server loop
- Peers and aircraft
- Hot Seat
- Accepting new clients
- Handling disconnections
- Incoming packets
- Studying our protocol
- Understanding the ticks and updates
- Synchronization issues
- Taking a peek in the other end the client
- Client packets
- Transmitting game actions via network nodes
- The new pause state
- Settings
- The new Player class
- Latency
- Latency versus bandwidth
- View scrolling compensation
- Aircraft interpolation
- Cheating prevention
- Summary
- Index
- Title: SFML Game Development. 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
- Author: Artur Moreira, Henrik Vogelius Hansson, Jan Haller, Henrik Valter Vogelius, SFML
- Original title: SFML Game Development. 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.
- ISBN: 9781849696852, 9781849696852
- Date of issue: 2013-06-24
- Format: Ebook
- Item ID: e_3c4y
- Publisher: Packt Publishing