Original Post
Hi, I have a question that hopefully someone can help me with. I have been reading about tile engines for a while now and all the articles I seem to read say blit the tiles straight to the screen, but using offsets to allow for smooth scrolling. This I understand. However, on a limited device say a pda/mobile phone this is not possible due to the limited amount of draws you can do per refresh. So what I heard you can do is make an offscreen buffer and then only draw this, so you would scroll the buffer and draw only the buffer to the screen making it much faster. However, my problem is this, say the buffer is only one tile width larger than the screen of the device, what happens when you have scrolled one tile width and you run out of buffer to update? I think i may be being stupid, but some help would really be appreciated! ------------------------- | | | |-----------------| | | | screen | | | | | | | | | | | |-----------------| | | buffer | |------------------------