I’ve programmed a lot of 2D games with SDL, and today I would like to take advantage of hardware acceleration for 2D using openGL. I’m really a beginer and I’ve just learned how to display an image.
My question is the following. For example, I would like , to display a blinking LED, and allow user to interactively zoom it.
My first idea is for each frame ,to create a new black quad for background displaying then to create a new quad for the led at the correct size (depending on the expected zoom) displaying the right texture (changing the image at blinking time).
Is this how it should be done , or should I use things like camera moving in order to handle zoom?
Thanks in advance.