In this post I’ll be showcasing Pixel Game Engine(PGE), my C++ game engine/library based on Ben Arnold’s Advanced C++/Graphics Tutorial series: https://www.youtube.com/watch?v=FxCC9Ces1Yg&list=PLSPw4ASQYyymu3PfG9gxywSPghnSMiOAW&index=1
Before we begin, here’s a list of all the libraries that I used:
SDL(window creation and input): https://www.youtube.com/watch?v=FxCC9Ces1Yg&list=PLSPw4ASQYyymu3PfG9gxywSPghnSMiOAW&index=1
GLEW(OpenGL): http://glew.sourceforge.net/
OpenGL Mathematics(self explanatory): http://glm.g-truc.net/0.9.8/index.html
1) Window
Initializes libraries and creates a window
2) Input
The input manager handles all things related to input like key presses or window movement
3) Camera
Provides an easy interface to moving, resizing and scaling the content of the window.
4) Shader Program
Manages shader loading, compiling and linking.
5) Sprite Batching
All the sprites that share the same texture are drawn simultaneously which is significantly faster than drawing each sprite individually.
There are many more features that I didn’t showcase here and some of them have yet to be implemented.
6 comments