Client needs a way to distinguish walls

Technical and coding related questions.

Moderator: Board moderators

Post Reply
Basilisk
Luser
Posts: 30
Joined: Mon Feb 06, 2006 6:20 am

Client needs a way to distinguish walls

Post by Basilisk »

I have encountered a new "urge" to make the client code aware of what constitutes walls.

When I made isometric graphics, and a means of using two squares for height, it began to conceal certain floors and objects. While much of this is intended, it might be sort of inconvenient when people cannot see certain monsters and treasures.

So, I added some more logic to my "draw" functions, and made it so that tiles
on layer >= 1, and southwest, of the avatar are masked so that you can see through them.

Unfortunately, the faux transparency affects the monsters and treasures same as the walls... meaning right now it looks nice but accomplishes nothing :D

I will need a means other than "layer" to filter the objects. Ideas?
Post Reply