drewski
Nov 27th, 2001, 12:52 AM
Hey people, does anyone know how to make this work. Here's what I've been trying to do:
I have my screen which is 17 x 13 tiles (I think) and in the memory I have stored a surface that is 18 x 13 which is rebilted with every frame in individual tiles. I have this working with maps that are bigger that the screen but the problem is this is somewhat slow because there are 234 different blts going on here.
What I am now trying to do is blt only the edges where the player is moving to because that is the only new part being shown on the screen. I was going to move the stuff already blted over and blt the new border at the edge. I cant get this to work. The output that I get when I try to do this is some pretty weird stuff! The out put may be weird but it does improve my framerate dramatically. Does anyone know how to do this and make it work right?! This is really agrivating me.
Thanks for the help.
Drewski
I have my screen which is 17 x 13 tiles (I think) and in the memory I have stored a surface that is 18 x 13 which is rebilted with every frame in individual tiles. I have this working with maps that are bigger that the screen but the problem is this is somewhat slow because there are 234 different blts going on here.
What I am now trying to do is blt only the edges where the player is moving to because that is the only new part being shown on the screen. I was going to move the stuff already blted over and blt the new border at the edge. I cant get this to work. The output that I get when I try to do this is some pretty weird stuff! The out put may be weird but it does improve my framerate dramatically. Does anyone know how to do this and make it work right?! This is really agrivating me.
Thanks for the help.
Drewski