Hören und Lesen

Tritt ein in eine Welt voller Geschichten

  • Mehr als 600.000 Hörbücher und E-Book
  • Jederzeit kündbar
  • Exklusive Titel und Originals
  • komfortabler Kinder-Modus
Abonniere jetzt
se-device-image-1200x1200
Cover for OpenGL Game Development By Example

OpenGL Game Development By Example

Sprachen
Englisch
Format
Kategorie

Sachbuch

Design and code your own 2D and 3D games efficiently using OpenGL and C++

About This Book

• Create 2D and 3D games completely, through a series of end-to-end game projects

• Learn to render high performance 2D and 3D graphics using OpenGL

• Implement a rudimentary game engine using step-by-step code

Who This Book Is For

If you are a prospective game developer with some experience using C++, then this book is for you. Both prospective and experienced game programmers will find nuggets of wisdom and practical advice as they learn to code two full games using OpenGL, C++, and a host of related tools.

What You Will Learn • Set up your development environment in Visual Studio using OpenGL

• Use 2D and 3D coordinate systems

• Implement an input system to handle the mouse and the keyboard

• Create a state machine to handle complex changes in the game

• Load, display, and manipulate both 2D and 3D graphics

• Implement collision detection and basic physics

• Discover the key components needed to complete a polished game

• Handle audio files and implement sound effects and music

In Detail

OpenGL is one of the most popular rendering SDKs used to develop games. OpenGL has been used to create everything from 3D masterpieces running on desktop computers to 2D puzzles running on mobile devices. You will learn to apply both 2D and 3D technologies to bring your game idea to life.

There is a lot more to making a game than just drawing pictures and that is where this book is unique! It provides a complete tutorial on designing and coding games from the setup of the development environment to final credits screen, through the creation of a 2D and 3D game.

The book starts off by showing you how to set up a development environment using Visual Studio, and create a code framework for your game. It then walks you through creation of two games–a 2D platform game called Roboracer 2D and a 3D first-person space shooter game–using OpenGL to render both 2D and 3D graphics using a 2D coordinate system. You'll create sprite classes, render sprites and animation, and navigate and control the characters. You will also learn how to implement input, use audio, and code basic collision and physics systems. From setting up the development environment to creating the final credits screen, the book will take you through the complete journey of creating a game engine that you can extend to create your own games.

Style and approach

An easy-to-follow guide full of code examples to illustrate every concept and help you build a 2D and 3D game from scratch, while learning the key tools that surround a typical OpenGL project.

© 2016 Packt Publishing (E-Book): 9781783288205

Erscheinungsdatum

E-Book: 8. März 2016

Wähle dein Abo-Modell

  • Über 600.000 Titel

  • Lade Titel herunter mit dem Offline Modus

  • Exklusive Titel und Storytel Originals

  • Sicher für Kinder (Kindermodus)

  • Einfach jederzeit kündbar

Basic

Für alle, die gelegentlich hören und lesen.

7.90 € /Monat

  • Jederzeit kündbar

  • Abo-Upgrade jederzeit möglich

Angebot jetzt aktivieren
Am beliebtesten!

Unlimited

Für alle, die unbegrenzt hören und lesen möchten.

18.90 € /Monat

  • Jederzeit kündbar

  • Wechsel zu Basic jederzeit möglich

Angebot jetzt aktivieren

Anderen gefällt...

  1. Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1)
    Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1) Rebecca Yarros
    4.7
  2. Not Quite Dead Yet (Ungekürzt)
    Not Quite Dead Yet (Ungekürzt) Holly Jackson
    4.5
  3. Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing«
    Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing« Rebecca Yarros
    4.7
  4. Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt
    Blackened Blade 1: The Blackened Blade: Dark Fantasy mit einer broken Heroine, die Rache an ihren Peinigern nimmt Isla Davon
    4.6
  5. Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame«
    Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame« Rebecca Yarros
    4.3
  6. Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch
    Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch SenLinYu
    4.4
  7. The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope
    The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope Kyra Groh
    4.4
  8. Broken Prince - Northern-Royals-Dilogie, Band 2 (Ungekürzte Lesung)
    Broken Prince - Northern-Royals-Dilogie, Band 2 (Ungekürzte Lesung) Anya Omah
    4.6
  9. Dark Cinderella - Northern-Royals-Dilogie, Band 1 (Ungekürzte Lesung)
    Dark Cinderella - Northern-Royals-Dilogie, Band 1 (Ungekürzte Lesung) Anya Omah
    4.4
  10. Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung)
    Saphirblau - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 2 (Ungekürzte Lesung) Kerstin Gier
    4.7
  11. Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung)
    Rubinrot - Liebe geht durch alle Zeiten - Liebe geht durch alle Zeiten. Die Edelstein-Trilogie, Band 1 (Ungekürzte Lesung) Kerstin Gier
    4.7
  12. "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung)
    "Mama, bitte lern Deutsch" - Unser Eingliederungsversuch in eine geschlossene Gesellschaft (Ungekürzte Autorenlesung) Tahsim Durgun
    4.8
  13. 22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023
    22 Bahnen: Lieblingsbuch des unabhängigen Buchhandels 2023 Caroline Wahl
    4.1
  14. Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt)
    Crushing Souls - Driven Dreams, Teil 1 (Ungekürzt) Carolin Wahl
    4.4
  15. Lights Out (Lights Out 1): Heiße Dark RomCom für Leser:innen von Brynne Weaver endlich auf Deutsch! (Aly & Josh)
    Lights Out (Lights Out 1): Heiße Dark RomCom für Leser:innen von Brynne Weaver endlich auf Deutsch! (Aly & Josh) Navessa Allen
    4.4