immortalx wrote:You can do something like this:
Sprite1.X<Sprite2.BBoxLeft+Sprite1.Width/2--->Sprite1 Set X to Sprite2.BBoxLeft+Sprite1.Width/2
Just add 3 more conditions for right, top, bottom with appropriate values.
immortalx wrote:@LittleStain thanks! I'm constantly learning a lot from you and it always amazes me how you can find the best solutions to problems. You have my deepest respect!
Users browsing this forum: No registered users and 7 guests