www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/06/10:52:06

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>, "Xee'Gh" <pekkaka AT dlc DOT fi>
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
Importance: Normal
In-Reply-To: <01bdc04b$873ddae0$LocalHost@default>

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019