Game Development Community

Top Down view question

by Drew Kario · in Torque Game Engine Advanced · 06/05/2009 (9:44 pm) · 0 replies

Hi guys. Im working on a top down shooter and Ive successfully implemented a few resources, such as the Advanced Camera resource. Its set in an isometric style view. I was looking around the forums and resources, but i cant seem to find a thread about making object see-through if a player is behind them.

An example would be if a player walked behind a tree, i would like the tree to sort of fade a bit so you can see the player. Another example would be when a player walked up or down a set of stairs to another level, id like the first level to disappear so i can see the player.

Im pretty sure that it has to do with setting a trigger for a fade animation, but this seems a tad cumbersome. And im not sure how i would set one up to NOT fade away if a player walk in front of the object instead.

Thats my current working theory. Does anyone have any suggestions or links that may be helpful? Im almost positive i read something about it earlier but i cant FIND it.

Thanks in advance