Path: chuka.playstation.co.uk!news From: george_bain@playstation.sony.com (George Bain) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Collisons Between 2 Sprites Date: 13 Nov 1998 14:21:12 GMT Organization: Sony Computer Entertainment Europe Lines: 23 Message-ID: <72hf8o$5bg14@chuka.playstation.co.uk> References: <364BBBBD.39EF0F37@aol.com> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Newsreader: WinVN 0.99.8 (x86 32bit) Hi there, You basically want to backup the 2 sprites upon collision based on th given speed of the sprites in which direction they are travelling. Check out the tutorial that I put together on the members site. Full source code is listed for all examples. Regards, George In article <364BBBBD.39EF0F37@aol.com>, Metwally7@aol.com says... > >I can make a function to detect 2 sprites colliding, but I don't know >what to make the 2 sprites do once a collision is detected. Could >someone please write a function or give me code to prevent them from >overlapping? t-h-a-n-k y-o-u i-n a-d-v-a-n-c-e > > >