Search:

Type: Posts; User: newbie

Search: Search took 0.10 seconds.

  1. Replies
    42
    Views
    2,920

    Re: Checking if an object contains a point

    I don't know, it could be.
    We'd need to see your Level class first so we know how big your Shape object is. When norm keeps asking you for all these printlns, he's expecting you to do it, and then...
  2. Replies
    42
    Views
    2,920

    Re: Checking if an object contains a point

    As your fall speed is +3, what is to stop


    !isCollidingWithFloor(new Point(x,(y+44)),new Point((x+16),(y+44)))


    from returning true 1 pixel above the floor, then incrementing 2 pixels past...
Results 1 to 2 of 2