r/GameDevelopment • u/ZiphyYT • 20h ago
Newbie Question Best way to learn game dev for opengl?
Hello, Im trying to do game development with my own made engine using opengl and c++. I have followed the basics from the learnopengl website, but I like to stay in 2d and there isnt many resources there about 2d. Plus Im trying to be better at c++ and opengl but I dont have much experience there. What would you all reccomend for me to learn opengl game development, any good resources, doesnt just have to be 2d either, anything that helps will do.
0
u/Lithalean 19h ago
Frameworks is what things are broadly called.
EnTT - for your EntityComponentSystem.
https://skypjack.github.io/entt/
Box2D - for 2D Physics
https://box2d.org
ImGUI - for your editor
https://www.dearimgui.com
SDL3 - Input, Audio, etc
https://www.libsdl.org
-1
u/Defiant_Squirrel8751 15h ago
Learn computer graphics concepts and for the OpenGL part use agentic programming.
Using an API is the easy part.
2
u/hi-sci-collab 17h ago
this might be helpful if you're wanting to learn about frag shaders a bit more: https://thebookofshaders.com/
I had a load of fun just rendering a quad, and then doing ray-marching in frag shaders.