Michael Fiano wrote:
i want to have a faster framerate when there is no scrolling by only updating the player and the background and foreground contained in it's rect area.
You can do that by drawing the tiles overlapping that rectangle. There's no need to pre-draw all the foreground and background tiles into big surfaces first. -- Greg