Lyt når som helst, hvor som helst

Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis

  • Lyt og læs så meget du har lyst til
  • Opdag et kæmpe bibliotek fyldt med fortællinger
  • Eksklusive titler + Mofibo Originals
  • Opsig når som helst
Start tilbuddet
DK - Details page - Device banner - 894x1036

OpenGL Game Development By Example

Sprog
Engelsk
Format
Kategori

Fakta

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-bog): 9781783288205

Release date

E-bog: 8. marts 2016

Andre kan også lide...

  1. Java Programming Simplified: Fundamental of Object-Oriented Language and Addition of a Guide on the C++ Language Eddy Romansky
  2. Programming Interviews For Dummies Eric Butow
  3. Python Computer Programming: Simple Step-By-Step Introduction to the Python Object-Oriented Programming. Quick Start Guide for beginners. Alex Campbell
  4. Data Science John D. Kelleher
  5. Coders: Who They Are, What They Think and How They Are Changing Our World Clive Thompson
  6. The Technological Singularity Murray Shanahan
  7. How Smart Machines Think Sean Gerrish
  8. The Encyclopedia of Aerodynamics Frank Hitchens
  9. 101 Amazing Facts about Chocolate Jack Goldstein
  10. Deep Learning: Guide to Machine Learning and Artificial Intelligence David Feldspar
  11. Machine Learning Introbooks Team
  12. YouTube Channels For Dummies: 2nd Edition Rich Murphy
  13. Getting Gamers: The Psychology of Video Games and Their Impact on the People who Play Them Jamie Madigan
  14. Coding for Kids Ages 9-15: Simple HTML, CSS and JavaScript lessons to get you started with Programming from Scratch Bob Mather
  15. Blood, Sweat, and Pixels: The Triumphant, Turbulent Stories Behind How Video Games Are Made Jason Schreier
  16. Foundation Isaac Asimov
  17. 3D Printing John M. Jordan
  18. Stages of the Journey Ram Dass
  19. The Red Thread: Buddhist Approaches to Sexuality Bernard Faure
  20. Artificial General Intelligence: (The MIT Press Essential Knowledge series) Julian Togelius
  21. Energy and Civilization: A History Vaclav Smil
  22. Electronic Health Records for Dummies Anita Samarth
  23. Other Minds: The Octopus and the Evolution of Intelligent Life Peter Godfrey-Smith
  24. The Hitchhiker's Guide to the Galaxy: The 42nd Anniversary Edition of Douglas Adams's International Bestseller Douglas Adams
  25. Virtual Reality Samuel Greengard
  26. Contraception: A Concise History Donna J. Drucker
  27. Solutions Architect's Handbook: Kick-start your career as a solutions architect by learning architecture design principles and strategies Saurabh Shrivastava
  28. Three Stones Make a Wall: The Story of Archaeology Eric H. Cline
  29. Inner City Pressure: The Story of Grime Dan Hancox
  30. Future Minds: The Rise of Intelligence, from the Big Bang to the End of the Universe Richard Yonck
  31. Why Buddhism is True: The Science and Philosophy of Meditation and Enlightenment Robert Wright
  32. How the Internet Happened: From Netscape to the iPhone Brian McCullough
  33. In Pain: A Bioethicist’s Personal Struggle with Opioids Travis Rieder
  34. Seveneves Neal Stephenson
  35. The Ultimate Harry Potter and Philosophy: Hogwarts for Muggles: Hogwarts for Muggles William Irwin
  36. Doctor Sax Jack Kerouac
  37. The History of Science, Sexuality, and Medicine Myrna Perez
  38. The Obsoletes: A Novel Simeon Mills
  39. The History of the Future: Oculus, Facebook, and the Revolution That Swept Virtual Reality Blake J. Harris
  40. We Had a Little Real Estate Problem: The Unheralded Story of Native Americans & Comedy Kliph Nesteroff
  41. Driven: The Race to Create the Autonomous Car Alex Davies
  42. EVOLUTION OF CANINE SOCIAL BEHAVIOR, 2ND EDITION Roger Abrantes

Vælg dit abonnement

  • Over 600.000 titler

  • Download og nyd titler offline

  • Eksklusive titler + Mofibo Originals

  • Børnevenligt miljø (Kids Mode)

  • Det er nemt at opsige når som helst

Flex

For dig som vil prøve Mofibo.

89 kr. /måned
  • 1 konto

  • 20 timer/måned

  • Gem op til 100 ubrugte timer

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Prøv gratis
Den mest populære

Premium

For dig som lytter og læser ofte.

129 kr. /måned
  • 1 konto

  • 100 timer/måned

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Unlimited

For dig som lytter og læser ubegrænset.

149 kr. /måned
  • 1 konto

  • Ubegrænset adgang

  • Eksklusivt indhold hver uge

  • Fri lytning til podcasts

  • Ingen binding

Start tilbuddet

Family

For dig som ønsker at dele historier med familien.

Fra 179 kr. /måned
  • 2-6 konti

  • 100 timer/måned pr. konto

  • Fri lytning til podcasts

  • Kun 39 kr. pr. ekstra konto

  • Ingen binding

2 konti

179 kr. /måned
Prøv gratis