[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: |
17 Sep 2002 01:56:20 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Gervase Lam <address@hidden> writes:
> I think the linear_goto will need to be more sophisticated than
> this.
It need to be better than that, right, but not much more. After all
you just need to draw a line from current_pos to new_pos and look if
pingu collides on that path with something.
> A builder could build through a spike in the collision map. This
> could stick right through the building brick between (0,0) and
> (+4,+2) that the Bridger needs to walk through. If necessary, the
> spike should get in the way of the Bridger and make it reverse.
It is probally needed to use different positions for the sprite and
the pingu itself, since the 4,2 jump is really happening in a few
updates, but due to the way the sprite-animations works it has to
happen at once.
--
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/19
Re: Pingu stuck and collision code, Gervase Lam, 2002/09/22
Re: Pingu stuck and collision code, Gervase Lam, 2002/09/25