I’m thinking about creating a little 2D game and i’m wondering if i should use OpenGL for it. Want i want to do i basically to have a screen in 640x480 with a background that’s has about 1280x480 in size so it should be able to be scrolled horizontally. I was thinking that i should create a polygon and then map this big texture to it and only show half of it at the time… and when scrolling i just move the polygon. I have ran into some problem doing this though, mostly how to calculate different coords.
Are there any way to do it simplier with OpenGL using some 2d functions? Sure i could do all this with the native windows API but it would be better to use OpenGL because then it should be easier to port to other platforms.
Can anyone give me any directions on which way to go and please give me some good references?
thanks in advance.