Posted: Mon Jan 17, 2005 1:09 pm Post subject: location detection for a side scroller
i am trying(valiantly) to make a side scroller game in turing v4.
i cant figure out what code i need for the actual "side scrolling" part of my game.
can you help me?
Quote:
i am your father
Sponsor Sponsor
Tony
Posted: Mon Jan 17, 2005 1:30 pm Post subject: (No subject)
the idea is that your character is always in the center and the rest of the map is relative to your character.
so when your character is at x:125 (for example... also assume that center of the screen is at x:25). You move everything else 100 units to the left
diablo
Posted: Tue Jan 18, 2005 11:39 am Post subject: (No subject)
so what would i do ti make to "scroll" smoothly?
ie: like in a mario game , the screen will gradually scroll in relative to my character and is just doesnt pop up there.
Cervantes
Posted: Tue Jan 18, 2005 4:20 pm Post subject: (No subject)