Okay, I have a set tilemap that's like [13][21] (it's a vector so subject to change).
Screen size is 240,240 pixels.
Each tile is 20x20 . Thus allowing me to draw 5 blocks to the left and the right of my player.
What I'm trying to do is have the screen ONLY draw the 5 blocks to the left,right,above, and below my player block.
I have it drawing the map to the specifications I want, but the problem I'm having is my player block isn't moving 1 tile over at a time.
I can post a link to the code if you wish to see exactly what I'm doing and run it.
As I said, the sole problem i'm having right now is having the character block move only 1 tile at a time.
Link to the code:
http://hostcode.sourceforge.net/view/3499