Be a Supporter!

Need Help With Platformer Ground

  • 462 Views
  • 1 Reply
New Topic Respond to this Topic
Ghoul-5
Ghoul-5
  • Member since: Jul. 31, 2005
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Need Help With Platformer Ground 2007-04-20 14:43:55 Reply

Hello everyone, i need some help with ground in an arcade/platformer game.
Ok, so there's a hero MC and a ground MC, game engine is pretty much done, but the hero mc does not move according to ground pattern (bumps, slopes, etc) after it lands after a jump, he stops where he hits the ground and then just moves in that height in a a horizontal line, until another jump ( so he appears to be floating or beneath ground sometimes)

Now i kinda know a way to make it go down slopes, by constantly checking if he hitTests the ground, and making him fall if he doesn't, but i still need a way to make him go up slopes. (would be awesome to prevent him going up the slope if it's too steep too ;)

So if anyone knows how to make this, please post, thanks in advance :) !


THE CAKE IS A LIE

noob-toast
noob-toast
  • Member since: May. 18, 2004
  • Offline.
Forum Stats
Member
Level 08
Blank Slate
Response to Need Help With Platformer Ground 2007-04-20 15:30:51 Reply

C.D.T.

If you don't want to read all that, then PM or or something later, right now I'm in a hurry and can't explain everything.


These new signatures can suck on mah balls. My lolis don't fit in. Lol wut what are you guys still doing on NG, move on.

BBS Signature