Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Messing around with the Gravity Function

Loading...

Sign in or sign up now!
4,182
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 5, 2009

All I am showing is how the gravity function works in my current Mega Man engine.

You can increase the gravity value to make Mega Man fall down faster, or decrease the gravity to make him fall down slower.
You can even set the gravity into negative numbers, giving off an anti-gravity room effect like in Mega Man 9 Wily Stage 3.
Since the gravity value adds to the players Velocity Y setting, I had to make a new condition to stop the Y Velocity from increasing by the gravity value when it's in the negatives. This way, Mega Man can rise upwards steadily that makes it give the anti-gravity room effect.

The gravity switch feature was asked a lot about by StarsimsUniverse (the creator of the robot master Yoku Man). As I am showing him how I would go about making heavy gravity rooms in levels that was found in some Mega Man rom hacks.

Oh yea, there is a hidden teleporter somewhere in the teleporter room screen that takes you to this testing zone screen. Just for those that are curious as to why there is a big hole in the center of the room there. That's where MegaMan comes out from when being teleported into the room. But I wouldn't recommend it, as there are no way to exit the room other than restarting the level. I mainly made this room for purposes just like this.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Top Comments

  • I think Megaman is a pretty cool guy. eh walks on the cieling and doesn't afraid of anything.

  • You know what would be cool, if you coded the buster to add to the speed of Megaman like in Wily Stage 3, but you've still got the gravity spot-on which is brilliant. great work.

see all

All Comments (20)

Sign In or Sign Up now to post a comment!
  • It's like GeminiMan.

  • I found the secret entrance! Thanks for including the application in there! *I have MMf2*

  • Are you going to show more progress on your MM game anytime soon? I''m planning on buying the MMf2 to do my own Mega Man version.

  • Megaman is doing a karate kick! LOL

  • i need to get MMF2

  • HES A FLYIN HES A FLYIN! lol. maybe if you can make the 4 direction gravity change. then put him in the room lol. hed be going in circles for days.

  • Impressive, and it allows lots of stuff, like higher jumps in water, or like with tornado man's weapon in MM9. Brilliant.

  • Well, damn, that looks awesome. :D

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more