Wrapping works, you can now walk right around my world.
I suspect in some directions it may not be smooth (jumps a few tiles)
I believe this is because it is true for Right-directional wrapping. I'm not sure why
I'll have to have a closer check once I get a more detailed map.
So now what, I could do a number of things from here.
I think first I'll finish off the wrapping so it can handle any number of blocks.
Before that I'm going to clean up the code again. After that thats the end of this section!
Then animating, pixelXpixel movement or time.
Time seems the most likely but I think pixel by pixel movement will be independant of time anyhoo.
Anyway I'm happy with what I've got so far.
No comments:
Post a Comment