Path: chuka.playstation.co.uk!news From: cros Newsgroups: scee.yaroze.programming.2d_graphics Subject: 2d collision bounding box... Date: Mon, 07 Dec 1998 20:29:05 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 46 Message-ID: <366C2C7E.75028A95@club-internet.fr> NNTP-Posting-Host: ppp-160-7.villette.club-internet.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [fr] (Macintosh; I; PPC) hi. Ok,when i want to detect collision between sprites i use bounding boxes rectangle following my sprite. In my case, that is: i have a ship(i make a space invaders for training me to C ...)like this(approximatively!!): i iiii i iiiiiii i <----This is the ship(fabulous isn't it?) iiiiiiiiiiiiiii iii iii i have a super-laser-bullet like this: the laser---> 0 <----(i can believe my eyes! this laser-bullet is so terrific) How can i make this collision operations between this two objects?: i iiii 0 i iiiiiii i ----->here no collision iiiiiiiiiiiiiii iii iii i iiii i iiiii0 i ----->here, there is collision iiiiiiiiiiiiiii iii iii Like you can see on my terrible ASCII graphics, the bounding box method don't works, how can i do? Chris