Search:

Type: Posts; User: Gravity Games

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    2,338

    Re: Making Slopes for a Platformer Game

    Well, I'm still having trouble with this, so I thought I would bump this thread instead of making a new one. Here's the code I'm using:

    In the method that checks if the character is colliding with...
  2. Replies
    4
    Views
    2,338

    Re: Making Slopes for a Platformer Game

    I'm using an object based system heavily inspired by the tile based systems of retro platformers, is there a way to make an objects collision size a triangle instead of only squares like I'm doing...
  3. Replies
    4
    Views
    2,338

    Making Slopes for a Platformer Game

    Hi, I'm having trouble making slopes for a 2D platformer game in Java. How would I go about making them? Do I just subtract 1 pixel from y for every x pixel moved (and tweak it for other angles) or...
Results 1 to 3 of 3