View Full Version : Delphix specific collisions
HieiOtaku
24-03-2005, 02:59 AM
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.
cairnswm
24-03-2005, 04:50 AM
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.