From: CWWIS1 Newsgroups: comp.os.msdos.djgpp Subject: Re: Collision Detection Date: Tue, 29 Apr 1997 10:55:19 -0700 Organization: Monash University Lines: 15 Message-ID: <33663607.B62@student.monash.edu.au> References: Reply-To: CWWIS1 AT STUDENT DOT MONASH DOT EDU DOT AU NNTP-Posting-Host: maths-g16-19.cc.monash.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alex wrote: > I a writing a new game and I would like to know to to do collision > detection. > The game will be side scrolling, I already have a partial game engine but > I need collision detection so the game knows when I have hit an alien or > I when i'm not going over a floor. Try this article. It's from Dr Dobb's source book on game programming and it describes different approaches to collision detection as well as a few examples. I found it very helpful http://www.ddj.com/ddsbk/1995/1995.05/roberts.htm Chris Wise.