Tag Archives: 2d graphics

2D Sprite Rotation using Opengl with SDL

Rotating 2D Sprite: In my previous post i showed how to move a 2D sprite in two dimensional screen using Opengl with SDL. Now in this post i’l show how to rotate a 2D sprite using Opengl with SDL. In Opengl, rotation can be made about x axis, y axis and z axis. In different axis [...]
Posted in Opengl with SDL, Tutorials | Also tagged , , , | 1 Comment

Moving 2D Sprite using Opengl with SDL

Moving 2D Sprite: SO on my previous post i showed you the code to display a 2D sprite using OpenGl with SDL. Now i’ll show how to move a 2D Sprite using opengl with sdl. There will be some minor changes in the code and rest will be the same. I’ll write the new changes in [...]
Posted in Opengl with SDL, Tutorials | Also tagged , , , , | Leave a comment

Drawing 2D Sprite Using OpenGl with SDL

In many forums, i have seen people asking about making 2D games using OpenGl and there weren’t any satisfactory answers. So i searched the google on doing 2D graphics using Opengl. Surprisingly there were not many results on that, there were very very few info on doing 2D graphics using OpenGl. So i did some research [...]
Posted in Opengl with SDL, Tutorials | Also tagged , , , , | 4 Comments
  • Become a GaanZa Fan

    GaanZa on Facebook