pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for Basher bugs


From: Ingo Ruhnke
Subject: Re: Patch for Basher bugs
Date: 27 Oct 2002 23:29:05 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Gervase Lam <address@hidden> writes:

> The same "fudge" also appears in the Walker code, except that the
> value is 2 pixels. Another thing I noticed was that the Walker
> sprite is 1 pixel off the bottom of the sprite boundary. So the
> Walker fudge factor should also really be 1 pixel, with the sprite
> moved down 1 pixel. (The Basher sprite is at the bottom boundary).
 
Back into in the old days there was a hack in 'class Pingu' that moved
all actions two pixels down, but in some cleanup this got removed
(thats why a few actions are 'floating' in the air at the moment). The
problem here is that the sprite aligment is hard-coded into the code
and spread quite a bit all over the code. What we need here to fix
that is a cleaned up sprite class and a way to save such meta
information in a seperate file, not in the code. All this goes more or
less along with the resource system rewrite that is needed.
ClanLib-0.7 also as some better sprite support for this, but I am not
really sure if am completly happy with that and if we should use that
directly.

> As Basher code has been moved around and some code has been added
> in, it would be best if Bashers were thoroughly tested.
 
I'll look into it tomorrow.

-- 
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]