i'm working on a mario game code which has a big background which is really long, about 1000*100 with 6*6 pixels. i've got pretty much everything down, except i don't know how to program the scrolling mechanism where mario gets to a certain x and the background scrolls to the right. it cannot scroll left, like super mario bros. i tried to use danpost's scrolling code but that failed too. can someone help me out?
