Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 location detection for a side scroller
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
diablo




PostPosted: 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 I'm with stupid
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: 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




PostPosted: 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




PostPosted: Tue Jan 18, 2005 4:20 pm   Post subject: (No subject)

check here: http://www.compsci.ca/v2/viewtopic.php?t=7026&highlight=mario. Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: