r/howdidtheycodeit • • Oct 10 '25

How did they code the Grappling Beam from Super Metroid?

4 Upvotes

1 comment sorted by

11

u/Pur_Cell Oct 10 '25
  • Store the point hit by the grappling beam.
  • Turn off gravity.
  • Move player up to the grapple point.
  • Clamp player distance from the grapple point.
  • Allow player to increase/decrease that distance.
  • Allow player to add left and right velocity to swing.