So I’ve been trying to program my own 2D game engine, it defines a base Node object, and the scene is created with a graph of Node derived objects as parents or children in a tree! Simple!
I have partial opengl render support as I wanted to support the concept of scale, as well as a functioning camera and HUD objects
Check it out at https://github.com/orible/SDLShooterGame