0 Members and 2 Guests are viewing this topic.
It's the tilemapper Jim e wrote, it's fast and can handle large jumps (from 1 pixel to... i dunno how many, maybe 255?). Hot_Dog, i was under the impression that it redrew the map every time, i dunno how else he would've done the parallax scrolling demo with all the animations. I've never actually used it and it's been ages since i looked at it, do you have a link to it somewhere?
When I want to scroll my code calls certain functions like this depending on the number of pixels to move1: Scroll_Left_12: Scroll_Left_1,Scroll_Left_13: Scroll_Left_4,Scroll_Right_14: Scroll_Left_4,5: Scroll_Left_4,Scroll_Left_16: Scroll_Left_4,Scroll_Left_1,Scroll_Left_17: Shift_Bytes_Left,Scroll_Right_1Any value greater than 8, I simply shift the bytes. Scrolling 4 bytes I make use of the RRD and RLD opcodes.The data in the blank areas is then filled with an optimized tile drawer.