SlideServe
Menu
Préférences
© SlideServe · v2026

Introduction to Game Programming

gates avatar
12 diapositives · 860 Views · Jul 22, 2014

Introduction to Game Programming. Using C++ and OpenGL. George Georgiev. Telerik Corporation. www.telerik.com. Table of Contents. Understanding Game Programming C++ - The industry standard language Computer graphics 2D and 3D Computer geometry Graphics Libraries OpenGL

Introduction to Game Programming - slide 1
01 / 12Introduction to Game Programming
1 / 17

Télécharger la présentation

Introduction to Game Programming
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Introduction to Game Programming Using C++ and OpenGL George Georgiev Telerik Corporation www.telerik.com

  2. Table of Contents • Understanding Game Programming • C++ - The industry standard language • Computer graphics • 2D and 3D • Computer geometry • Graphics Libraries • OpenGL • Introduction to OpenGL • Setting up OpenGL, “Hello World”

  3. Game Programming Elements, Specifics, Tools

  4. What is Game Programming? • Game programming handles: • Loading game resources • User input • Game events • Scripting • Game objects interaction • AI characters • Game sounds and visualization • Results, such as winning or losing

  5. What is Game Programming (2) • Game programming consists of: • “Game logic” programming • Graphics programming • AI programming (not necessarily) • Audio programming (not necessarily) • Physics programming (not necessarily)

  6. What is Game Programming (3) • Game programming IS NOT Game Development • It is only a part of it • Game programming is cool! • You can play your game and pretend you’re debugging it

  7. Specifics of Game Programming • Game programming specifics • The “Game loop” • Starting from scratch • Usage of many programming concepts • System requirements

  8. Specifics of Game Programming (2) • The basic “Game loop” in pseudocode while( user doesn't exit ) check for user input run AI move enemies resolve collisions draw graphics play sounds end while

  9. Specifics of Game Programming (3) • What else is special about game programming? • No strict requirements • No one expects complete accuracy • Need to balance “challenges” with “rewards” • Being fail-safe is not a priority • Small optimizations count • Greedy optimizations count

  10. Tools • Programming languages • C / C++ • C# • Java • Scripting languages • Custom-made languages (very common) • Lua • Python

  11. Tools (2) • Libraries • Graphics – Direct3D, OpenGL, OGRE • Physics – Bullet Physics Library, ODE • Many, many more • APIs • DirectX • XNA • Irrlicht Engine • Unreal Engine

  12. Tools (3) • Benchmarking tools • Mainly framerate tracking software • Fraps • Alternative development approaches • Game development software • Game maker • 3D modeling software with scripting capabilities