Original Post
im making pacman, and i store the levels in a data file that i read in when necessary. in the main loop i blit the tiles according to the map data. however since adding a few other things to the game it has slowed down drastically. the other guy working on this with me says that the speed loss is caused by the way i display the map. here is how i do it.
for(NUM OF TILES WIDTH)
for(NUM OF TILES HEIGHT)
blit tile
this happens every run through the loop. is displaying all the tiles everytime really slowing it down? would like to hear comments and ideas of speeding it up.
thanks in advance
yesterday is history, tomorrow is a mystery, today is a gift... -TapRoot
AIM screen name: StarCraftIsEvil