I need to brush up on my C++ for a course I am teaching in the fall, I want to have fun doing it and have an idea for a simple 2D game, however I don't want to have to worry about any of the rendering code.
What would be the simplest library to take care of rendering 2D PNGs in a window?
As I said, this is to brush up on my object-oriented programming skills so I am not at all worried about performance or viability in industry, whatever has the simplest setup with clear documentation.
If on top of it the framework/engine has some gameloop management that would be fantastic, but I'm mostly looking for sprite loading/rendering so I can focus on the gameplay.
An example of a 'perfect world' engine would look like this:
Window window = engine.createWindow(1260, 720); Sprite s = Sprite("path/to/img.png"); window.clear(); window.render(s, 100, 150);
This way I only have to worry about building the proper headers and functions for my game play objects.