-
CS3[as2] Top-Down jumping?
Hey guys, I have a small car game that is top down. I want to have 'jumps' but with some accurate physics, meaning the faster you go the further you jump.
I was going to specify the jump 'tiles' or 'clips' with a few properties
jump length
jump face(angle) [not real, just a number]
jump height
So what i wanted to do was when the car clip collides with the jump clip, to do a little math that will calculate the jump, and adjust the _xscale (for 'height' appearance), and speed.
Any help with the math and code would be much appreciated. I've been stuck on this one for a while
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|