pingus-devel
[Top][All Lists]
Advanced

[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: 27 Sep 2002 21:39:56 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Philippi <address@hidden> writes:

> On Thursday 26 September 2002 18:11, Ingo Ruhnke wrote:
>> The problem is that walking though a bridge is not really walking, its
>> basically simple up-shifting of the Pingu (pos += CL_Vector(1,1)).
> 
> Then walking downwards should be a down-shifting. If there are different ways 
> to walk up and down that's an invitation to bugs.

If you are 'inside' a bridge you are being up-shifted, if you are
on-top of a bridge it will be threaten like normal ground. Things like

 if (front_blocked() and ground_is_a_bridge ())
   shift_down()

are possible in theory, but would just make all this more compilcated
and introduce more bugs.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: address@hidden 
ICQ:      59461927




reply via email to

[Prev in Thread] Current Thread [Next in Thread]