I’m using one large map image, (think 4000x4000) and am creating a scrolling background. Should I just cut the appropriate segment for then screen out each frame and display that, or should I cut the image up into an array of tiles upon loading of the map, and display only the appropriate tiles?
I have actually done both of these, a friend assuring me a tiled system is better, but I found that the tiles slow the program way too much. I’m getting 34 fps, when drawing 15x7 (105) tiles at 128x128 pixels. Now typing this that sounds like a hell of a lot of tiles. What sort of road should I go down here? (I’m drawing onto a JPanel, contained in a JFrame, each tile is a BufferedImage)
((I found some really good threads in search, but they where old and the links (some really useful) where broken, I have no problems with the whole scrolling/fixed camera concept))