Page 1 of 1

Minor display order on a map

Posted: Sun Jun 17, 2012 6:54 am
by TheFSM
One of the skeletons in the bits and pieces quest:

Location:
West of the underground river, in the southern most room, on the mat
Appears in the foreground in comparison to monsters and the player, I'm assuming it's supposed to be lying on the ground - and that characters and monsters are meant to be rendered above it.

Re: Minor display order on a map

Posted: Sun Jun 24, 2012 4:17 pm
by nyktos
yeah, there are a handful of these little map issues...
bushes, rocks, trees - sometimes get put into the wrong layer.

:shock:

nice catch!

:D

Re: Minor display order on a map

Posted: Sun Jul 01, 2012 5:01 am
by Pyrizzle
TheFSM wrote:One of the skeletons in the bits and pieces quest:

Location:
West of the underground river, in the southern most room, on the mat
Appears in the foreground in comparison to monsters and the player, I'm assuming it's supposed to be lying on the ground - and that characters and monsters are meant to be rendered above it.
Good catch! Thanks for the report! This will be easy to fix.

Happy hunting! :mrgreen:

Re: Minor display order on a map

Posted: Sun Jul 01, 2012 8:04 am
by Wyrmspawn
In fall haven there are two rocks that are side by side, and they are to the south of the fallhaven tavern. However, to my surprise, I could walk right over the rock on the left.

Re: Minor display order on a map

Posted: Sun Jul 01, 2012 8:18 am
by Pyrizzle
Wyrmspawn wrote:In fall haven there are two rocks that are side by side, and they are to the south of the fallhaven tavern. However, to my surprise, I could walk right over the rock on the left.
Great find! Thank you for reporting that.

Happy hunting! :mrgreen:

Re: Minor display order on a map

Posted: Sun Jul 01, 2012 9:10 pm
by nyktos
i think that was part of the "wider walkways" update...
since so many people complained about getting stuck behind NPCs.

[the two rocks where one is walkable & the other is not]

Re: Minor display order on a map

Posted: Mon Jul 02, 2012 1:02 am
by Pyrizzle
nyktos wrote:i think that was part of the "wider walkways" update...
since so many people complained about getting stuck behind NPCs.

[the two rocks where one is walkable & the other is not]
that makes sence. Maybe we could take that rock out all together.

Re: Minor display order on a map

Posted: Tue Jul 24, 2012 6:09 pm
by oskarwiksten
TheFSM wrote:One of the skeletons in the bits and pieces quest:

Appears in the foreground in comparison to monsters and the player, I'm assuming it's supposed to be lying on the ground - and that characters and monsters are meant to be rendered above it.
Ouch, that's a tough one to actually fix! Well spotted though, TheFSM!

The thing is, that we currently only have three layers of all maps that are displayed, the "ground", "objects" and "above" layers. The layers called "ground" and "objects" are rendered below all actors, and "above" is rendered after the actor sprites have been applied. The tile that you are referring to has things that are expected to be shown below the player sprite; the brown background (in layer "ground"), the mattress (in layer "objects", partially transparent) and the skeleton (in layer "above" currently). Since the skeleton is in the "above" layer, it is displayed after the player sprite has been rendered, making it appear hovering above the player.

The reason for only using three layers is that we get absolutely stunning performance this way, and we won't have to keep as much stuff in memory while displaying a map. What we usually do is cheat and create an object tile that is not transparent, and place that in the "ground" layer. In this case, maybe we could place make a tile for the mattress that is not transparent, and place the skeleton in the "objects" layer.

We'll have to give this some thought. Well spotted though, TheFSM!