Coder's Guild Mailing List

Collision Detection --- I think

Posted by Kspansel@xxx.xxx on 2000-01-06

alright...here's the problem..

I have a sprite...scooter steve....and he rides along this white line but the 
line will change heights.  So it's not a straight line it will rise up and 
down once in a while.  My question is how would I tell when the line starts 
to rise.  And how would I adjust scooter steves height accordingly?  My first 
thoughts were to use an array of the screen width and at a certain x where it 
starts to slope up store the change in y.  Any comments welcome.  And thanks. 

Kory Spansel
Sponsored by Wrox Press - www.wrox.com. Programmer to Programmer (TM)
To signoff send a mail to listserver@xxxx.xx.xx with 
  "signoff tcg" in the body of your message.