Reply-To: From: "Arthur" To: "DJGPP Mailing List" , "Xee'Gh" Subject: RE: About AI & Collision Detection ? Date: Thu, 6 Aug 1998 15:52:13 +0100 Message-ID: <000301bdc149$cbc37680$f04b08c3@arthur> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Importance: Normal In-Reply-To: <01bdc04b$873ddae0$LocalHost@default> Precedence: bulk > I Think i try to make a game now, and i started it already but > theres few questions.like this. > > If i make structure for player y axis and i want it to stop moving at 200 > and 0 > those are the limits, does it stop at the bottom of my bat which i draw?. > thats been my problem alltime for making collision detection...I could read > from demo.c but diffent games dont work sameway. The bats size is 16x100 > and will be > put on right of the srcreen. > > And it would fun if computer would know how to play, :) so where can i get > more information about AI. I have some books but those examples are for > action > games, like runAway AI ex. so it dont work with my game :). > > Computer is located at left of the screen. George Foot wrote a How To Program Pong tutorial some time ago. It may be of use to you. Again, go to the allegro homepage www.tatula.demon.co.uk/allegro and download it from there. James Arthur jaa AT arfa DOT clara DOT net ICQ#15054819