[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pingu stuck and collision code
From: |
Ingo Ruhnke |
Subject: |
Re: Pingu stuck and collision code |
Date: |
24 Sep 2002 19:29:09 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Gervase Lam <address@hidden> writes:
> I've attached the patched files for the Pingus getting stuck in bridges
> problem, which includes removing now redundant Bridger code. It works by
> not allowing a Bridger to place a brick if a Pingu would have a head
> collision if it walked along it. As well as getting around the original
> bug that I was trying to fix, it also gets around the following problem...
Ok, patch commited. Seems to work, but I am not really sure that I
like that behaviour completly. Its ok for and bridge that is already
half build, but I would probally like to keep a way to add a final
last brick to the bridge so that pingus can no longer pass that way. I
mean add a special case handling for the placement of the first brick.
So two bridges could actually work as a blocker.
############
<- here bridger stops, path is still walkable
__--
__--
##########
Another bridger is started at the top of the bridge and places a last
brick:
############
__ <- patch would now be blocked due to head_collision
__--
__--
##########
Just and idea, not sure if it would work out.
--
WWW: http://pingus.seul.org/~grumbel/
Games: http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden
ICQ: 59461927
Re: Pingu stuck and collision code, Gervase Lam, 2002/09/29
Re: Pingu stuck and collision code, Gervase Lam, 2002/09/30