2D Games in OpenGL? :)

Hello ,

I have a Question: I want to do a nice 2D-Jump n’ Run with OpenGL. But I want to use a random generated Landscape. Should I draw it with Polygones or something? What would be the best and fastest way to display such a World?

I’m not sure about fastest but the most standard method involves “tiles”. Tiles are little pictures you put together to form the ground and landscape or whatever. Then u just move the tiles around to get a side scrolling effect. pretty simple really (i think)

Yes, I thought about tiles too, but I can’t morph them in realtime (I need that for Random Maps for example). Because of that I thought about drawing Lines but this could be very slow…

Use triangle strips