Results 1 to 2 of 2

Thread: Delphix specific collisions

  1. #1

    Delphix specific collisions

    Hi everyone, Can anyone help with a problem I'm having with my game? Is there any particular way to check which side of a sprite has collided with a another particular sprite? I am looking for a way to see if the feet of my sprite have specifically collided with the ground. Thanks.

  2. #2
    Legendary Member cairnswm's Avatar
    Join Date
    Nov 2002
    Location
    Randburg, South Africa
    Posts
    1,537

    Delphix specific collisions

    If the right side of the first sprite (Left+Width) is > Left of second sprite then Right Side Collision.

    If the Bottom of the first sprite (Top + height) is > Top of second sprite then bottom collisions


    etc
    William Cairns
    My Games: http://www.cairnsgames.co.za (Currently very inactive)
    MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •