Page 1 of 1

(not a bug) Display bug

Posted: Tue Feb 09, 2010 7:02 pm
by Joramun
Here is the situation:
A - amalgam_empty on south wall (which also contains two other deactivated objects, all south)
W - a plain wall
D - a door
P - party facing west (left here)
_ open tile

The amalgam appears "east-oriented" in place of the wall corner.
The south wall doesn't appear at all.
Same goes in the mirrored situation (and in any direction).
I didn't verify all possible positions though.

A D W
_ P _

or

ADW
_ _ P

OR

ADWW
_ _ _ P

Re: (not a bug) Display bug

Posted: Tue Feb 09, 2010 11:45 pm
by Sophia
If there is no sideview defined, DSB will use the front view as the side view. This is desirable in a lot of cases. Perhaps not this one, but I wouldn't call it a bug. :)

Re: (not a bug) Display bug

Posted: Wed Feb 10, 2010 8:37 am
by Joramun
Ok, but the walls are not properly displayed behind the object. this might be because of the bitmap size.
Using another item's side graphics also didn't solve the thing.

Re: (not a bug) Display bug

Posted: Wed Feb 10, 2010 8:50 pm
by Sophia
Joramun wrote:Ok, but the walls are not properly displayed behind the object. this might be because of the bitmap size.
Yes, I think it is.
Joramun wrote:Using another item's side graphics also didn't solve the thing.
What did you do? It worked fine for me.

I created the situation you described in the test_dungeon, and then added this line to the test_dungeon's objects.lua:

Code: Select all

obj.amalgam.side=gfx.hook_side
That code caused the amalgam's side view to be defined as a hook, and everything worked as expected, with the amalgam showing up as a hook from the side view, and properly from the front.

Re: (not a bug) Display bug

Posted: Wed Feb 10, 2010 11:26 pm
by Joramun
Sorry, my bad, I mixed amalgam and amalgam_empty in my objects.lua.