I have "active lines" drawn out on my game. I want the snowboard active to slide down these lines. I've tried looking up some sort of motion equation or something using direction, gravity, and speed, but I cant find anything I need. There are three counters (direction, gravity, speed) that affect the snowboarder. In the game I change these counters which in turn affect the snowboarder.
Direction is easy:
Angle of Line>=90 and Angle of Line<=269: Set counter to Angle of Line (overlap)
Angle of Line<=89 and Angle of Line>=270: Set counter to Angle of Line (overlap)+(Flipped)
If I can get the gravity (Y Axis) and the speed (X Axis) correct, then he should glide perfectly down the lines. Any help?
I think you greatly underestimate how difficult it will be. I tried making a line rider game ages ago - I also had the line drawing part worked out quite quickly, but the physics is *very* complicated. The Phizix extension is probably going to be your best bet.
It's easy to make the snowboarder slide along the lines. It gets tricky when you need gravity momentum and other physics factors, but it is certainly possible. I'm not very good at physics myself so I can't help you.
Maybe someone on the clickteam forums will know something about these types of physics. The Box 2D extension is in open beta, so you could try that.
What you need to do is apply regular physics to it, quite TEH BoRiNg, but necessary. Create the laws of physics and simply apply them to the world. You need the regulars, like mass, velocity, gravity, friction etc, and the ever so important ...uh...em... how the !%?# do you say "tröghet" in english? Damn I can't remember... anyway, that's important too. Isn't Muz quite dandy with this kind of stuff?