4.Introduction to Game Programming C++ - 3D Graphics and Game Development Course

9,247 views

Published on

In this presentation, part of the 3D graphics and game develpment course, we discuss what is game development and game programming.
The website and all video materials are in Bulgarian.
Main topics:
http://academy.telerik.com/.../3d-game-development-opengl
Telerik Software Academy: http://www.academy.telerik.com
The website and all video materials are in Bulgarian

Published in: Education, Technology, Design
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
9,247
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
153
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide

4.Introduction to Game Programming C++ - 3D Graphics and Game Development Course

  1. 1. Introduction to Game Programming Things you need to knowGeorge GeorgievTechnical TrainerGeorge AtanasovFront-End Developerhttp://academy.telerik.com
  2. 2. Table of Contents Understanding Game programming  What is it?  Specifics  Tools and languages C++ - The industry standard language  C++ & Game programming  Why not C# ? 2
  3. 3. Game Programming Elements, Specifics, Tools
  4. 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 4
  5. 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) 5
  6. 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 6
  7. 7. Specifics of Game Programming Game programming specifics  The “Game loop”  Starting from scratch  Usage of many programming concepts  System requirements 7
  8. 8. Specifics of Game Programming (2) A basic “Game loop” in pseudocode while( user doesnt exit ) check for user input run AI move enemies resolve collisions draw graphics play sounds end while
  9. 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 9
  10. 10. Tools Programming languages  C / C++  C#  Java Scripting languages  Custom-made languages (very common)  Lua  Python 10
  11. 11. Tools (2) Libraries and APIs  Single-purpose  Graphics – Direct3D, OpenGL, OGRE  Physics – Bullet Physics Library, ODE  Multi-purpose  DirectX  XNA  Irrlicht Engine  Unreal Engine 11
  12. 12. Tools (3) Benchmarking tools  Mainly framerate tracking software  Fraps Alternative development approaches  Game development software  Game maker  3D modeling software with scripting capabilities The Internet… 12
  13. 13. C++The industry standard language
  14. 14. What is C++? The most widely used and popular programming language  Object-oriented  Mid-level  Compiles to binary  Fast  Low memory usage 14
  15. 15. C++ & Game programming The industry standard language  Most popular games are written in C++  A lot of APIs are written in and for C / C++  Runs almost on everything  The C++ community is huge  Not a dying language 15
  16. 16. Why arent we using C# ? Too young as a language  Can’t compare to C++’s community Not designed to be as fast as C++  10% faster counts in game programming Too high-level and style-demanding  Game programming requires freedom C# without .NET is like C++ without the “++” The lower you go, the more you know  We (you) are here to learn 16
  17. 17. Introduction to Game programming курсове и уроци по програмиране, уеб дизайн – безплатно BG Coder - онлайн състезателна система - online judge курсове и уроци по програмиране – Телерик академия форум програмиране, форум уеб дизайн уроци по програмиране и уеб дизайн за ученици ASP.NET курс - уеб програмиране, бази данни, C#, .NET, ASP.NET http://academy.telerik.com/ програмиране за деца – безплатни курсове и уроци ASP.NET MVC курс – HTML, SQL, C#, .NET, ASP.NET MVC безплатен SEO курс - оптимизация за търсачки алго академия – състезателно програмиране, състезаниякурсове и уроци по програмиране, книги – безплатно от Наков курс мобилни приложения с iPhone, Android, WP7, PhoneGap уроци по уеб дизайн, HTML, CSS, JavaScript, Photoshop Дончо Минков - сайт за програмиране free C# book, безплатна книга C#, книга Java, книга C# Николай Костов - блог за програмиране безплатен курс "Качествен програмен код" безплатен курс "Разработка на софтуер в cloud среда" C# курс, програмиране, безплатно
  18. 18. Free Trainings @ Telerik Academy 3D Graphics and Game Development  academy.telerik.com/.../ 3d-game-development-opengl Telerik Software Academy  academy.telerik.com Telerik Academy @ Facebook  facebook.com/TelerikAcademy Telerik Software Academy Forums  forums.academy.telerik.com

×