View Single Post
  #21  
Old 08-15-2010, 09:03 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by DustyPorViva View Post
Hmm, wouldn't it be better to have player's have a relative layer variable? That way we can change the layer the player is drawn on relative to tilelayers to get more useful effects. For example, if you have a bridge drawn on layer 3, all players with a relative layer under 3 would walk under the bridge, while players with a layer of >3 would walk OVER the bridge. This way we could allow our own player to have the bridge drawn over them without having the bridge also draw over players who are actually on it.
No, not really. If you just changed the players' layer, then if you wanted to go back later and make a new tilelayer that draws under the player, you would have to change all of your layers around to make sure all of them stay above the player correctly. With the method that I suggested, you can easily expand your levels later and not have to worry about what the player's layer is while still achieving the desired affect.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote