How do I make a 2d platformer?

Started by DreamPiece 6 posts 129 views

Reply on sbox.game
  1. #1
    DreamPiece 4,941
    I'd like to create a 2D platformer in S&box, but I'm having trouble doing so. Can someone provide me with step-by-step instructions on how to set things up? Every time I try, either the gravity is in the wrong direction or the collision doesn't work, and the player phases through the ground.
  2. #2
    Austin 2,540
    this is a good place to start if you're talking about 2d with sprites.
    https://www.youtube.com/watch?v=1OI4kRBjaXM
  3. #3
    DreamPiece Started this 4,941
    Yes but that doesnt help me with the 2d platformer physics
  4. #4
    Austin 2,540
    you can either use built in physics (rigid bodies and hull stats) or create your own
  5. #5
    DreamPiece Started this 4,941
    How do I make my own?
  6. #6
    Austin 2,540
    c#