delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/29/03:04:38

Message-ID: <3365AB6A.2CC9@eik.bme.hu>
Date: Tue, 29 Apr 1997 10:03:54 +0200
From: "Dr. Andras Sólyom" <solyom AT eik DOT bme DOT hu>
Reply-To: solyom AT eik DOT bme DOT hu
MIME-Version: 1.0
To: djgpp <djgpp AT delorie DOT com>
Subject: Q: A good algorithm to catch me needed

I tried to re-create a game I enjoyed on a C64 long ago, called Rat Race
in Allegro. The game is about collecting cheese in a labirinth with a
rat while some other rats are trying to catch me and some cats are
trying to trap me. Everything is working, but the pursuers are very
stupid, it is easy to evade them. I remember that on the Commodore they
were very clever and always tried to corner me, some running ahead on
one or both sides then turning around toward me, some were chasing me
from behind, etc. And they had never got caught in the labirinth.

How can I achieve this in my game? Any suggestions?

				Andras

- Raw text -


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