adonthell-devel
[Top][All Lists]
Advanced

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

[Adonthell-devel] Shadow is back ... sort of


From: Kai Sterker
Subject: [Adonthell-devel] Shadow is back ... sort of
Date: Fri, 23 Jan 2009 21:57:17 +0100

My first attempt at adding back the character shadow isn't ready for
prime-time yet, but for a dirty hack it works better than expected.
See attached screenshot.

Currently, the shadow is a map object like all the others (although
without collision information). It's position gets updated as the
character moves around. Without any collision information it doesn't
have a bounding box right now, so that's messing up the rendering at
times.

I am also wondering: for the actual game, it makes sense that only
characters have shadows, as that's the way for people to tell whether
they are on the ground or in the air with the perspective we have.
However, for the map editor, it might make sense if all objects had a
shadow, so that it becomes easier to place them correctly ... so
shadow should possibly be a property of each placeable, which can be
enabled or disabled depending on whether we want it or not for any
particular object.

Fun times, again :-)

Kai

Attachment: shadow.png
Description: PNG image


reply via email to

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