Good, and you get very good answers aswell (mostly).Īnyway, to your question: i don’t know, if i Optimal way has not even been mentioned here.įirst of all, this question is not dumb, but off-topicįor this forum aswell. Option is better than the second, but am not sure. I am sorry if my question sounds dumb, but I would like to have a better Screen with its texture being updated each frame or would it be as wideĪs necessary to hold the complete image defined by the matrix and then View) and the composition of tiles would act as the geometry’s texture.īut now I have some questions: would the geometry be just as wide as the
Would have to be created (a single face, perpendicular to the player’s How would it be done? As I understand, a geometry Now consider reproducing the same as above using OpenGL (which I amĬompletely new to). As the game scrolls, different tiles are requested, but theīlitted area is always of the same size as the screen (or a little more, Indexes the tiles, indicating the combination needed to compose each The selection of the tiles is based on a matrix that The tiles are preloaded onto a surface and then selectively blitted to Parallax is not relevant to the question) is usually drawn from tiles. In a 2D scrolling game, the background (assume only one layer, since