Minor Layering issue on map

Got something on your mind about the project? This is the correct place for that.
Forum rules
This forum is for feature requests, content changes additions, anything not a Bug in the software.
Please report all bugs on the Support Forums
Post Reply
ikms
Peon
Peon
Posts: 41
Joined: 07 Oct 2008, 05:34

Minor Layering issue on map

Post by ikms » 09 Nov 2008, 12:37

Hi TMW team,

I am not sure what the symptons of a bug are, so here goes

Location:
Upstairs at Caul's (Miners Quarters)

Description of minor issue:
When my Character stands next to a bedside table, the item on the table appears over me, and not behind me
When I sit on a bed the Bedhead rail appears over me, and not behind me.

Regards
ikms
User avatar
Ces
Novice
Novice
Posts: 231
Joined: 19 Mar 2008, 23:46
Location: The hemisphere

Re: Minor Layering issue on map

Post by Ces » 09 Nov 2008, 13:42

These are artefacts that for now are impossible to map perfectly, unless you circumvent them and only add “decorations” to tiles that are unwalkable by the player...

As I have understood it they come from the fact that the “decoration” is either in front of or behind the player. But in those circumstances when the player can place itself both behind and in front of the “decoration”, one the positions will have faulty layering/drawing.

Maybe this could be solved in the client with a check whether the player is behind/on/in front of the object in question, and draw the player and object appropriately?
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Minor Layering issue on map

Post by Jaxad0127 » 09 Nov 2008, 18:55

Ces wrote:Maybe this could be solved in the client with a check whether the player is behind/on/in front of the object in question, and draw the player and object appropriately?
Not quite. The way to prevent this is to use more map layers.
Image
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: Minor Layering issue on map

Post by Crush » 09 Nov 2008, 20:48

...which is now possible because we abandoned support for older versions which don't support arbitary layering.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Minor Layering issue on map

Post by Jaxad0127 » 09 Nov 2008, 21:12

Crush wrote:...which is now possible because we abandoned support for older versions which don't support arbitary layering.
Right. We just need to spend some time and do it.
Image
User avatar
Ces
Novice
Novice
Posts: 231
Joined: 19 Mar 2008, 23:46
Location: The hemisphere

Re: Minor Layering issue on map

Post by Ces » 09 Nov 2008, 22:56

Hooray! I forgot about the dropped support.

Given an example of how it should look, I can help with a map or two...
Post Reply