https://github.com/rogerboesch/opengltutorial
Companion code of my OpenGL tutorial
https://github.com/rogerboesch/opengltutorial
android cpp gamedev ios macosx opengl tu
Last synced: 12 months ago
JSON representation
Companion code of my OpenGL tutorial
- Host: GitHub
- URL: https://github.com/rogerboesch/opengltutorial
- Owner: rogerboesch
- Created: 2018-07-26T06:54:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-03T11:28:02.000Z (over 1 year ago)
- Last Synced: 2025-04-12T03:53:13.574Z (12 months ago)
- Topics: android, cpp, gamedev, ios, macosx, opengl, tu
- Language: C++
- Homepage: https://rogerboesch.medium.com/
- Size: 598 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The (Multiplatform-) OpenGL Tutorial
This tutorial is not about creating another game engine but rather about creating simple games on different platforms with almost no changes using OpenGL and C++.
For that reason, the tutorial describes the boilerplate code needed on every platform and how to create a **2D Game** and, in later chapters, a **3D Game** that contains all the game logic.
### 2D example game: Pong
I chose Pong as the example 2D game for this tutorial because it just needs rectangles to be created. In the following newsletters, I will extend this by creating more complex and fun games, even in 3D!
### 3D example game: Battle Zone
Battle Zone is one of my all-time favorites. It’s a vector game created by the legendary company Atari. With its use of three-dimensional vector graphics, it only needs wireframe graphics and no textures, lights, etc. A great game to start with in 3D.
I hope you like the tutorial and it brings some light in the different OpenGL versions, how to use them and more importantly how to implement it to become platform independent.
### Source Code
This repository contains the source code for the OpenGL Tutorial which is now on [Medium](https://rogerboesch.medium.com/)
## Articles on Medium
### Coming soon
- Part VIII - Creating Battle Zone 3D (2)
- Part VII - Creating Battle Zone 3D (1)
### Ready to read
- [Part VI - Entering the Third Dimension](https://rogerboesch.medium.com/the-opengl-tutorial-part-vi-25a30291b4ff)
- [Part V - Refactoring: Using GameActivity and OpenGL ES 3 on Android](https://medium.com/@rogerboesch/the-opengl-tutorial-part-v-eae15f5bf5a0)
- [Part IV - Porting to Android](https://rogerboesch.medium.com/the-opengl-tutorial-part-iv-b2e044a21eea)
- [Part III - Creating a version for iOS](https://rogerboesch.medium.com/the-opengl-tutorial-part-iii-47adb24ec32e)
- [Part II - Create a 2D game](https://rogerboesch.medium.com/the-opengl-tutorial-part-ii-28e89600565e)
- [Part I - OpenGL Introduction](https://rogerboesch.medium.com/part-1-opengl-is-apple-killing-it-3508fda24a58)
---

### Videos
[](https://www.youtube.com/watch?v=0Mj-r7JjpeE)
[](https://www.youtube.com/watch?v=b7bBmABdUE8)
[](https://www.youtube.com/watch?v=ijuXTnqpZrA)