Closed bhazzard closed 12 years ago
wonder if we could do this by adding a 1 or 2 pixel top,left offset on each card as we go up the stack to give it a fake stacked appearance?
Could work, or we could give the whole board a 3d css perspective and give the buildings a thickness so you can see it that way.
Brian Hazzard
On Wed, Jan 11, 2012 at 3:15 PM, Michael Dellanoce < reply@reply.github.com
wrote:
wonder if we could do this by adding a 1 or 2 pixel top,left offset on each card as we go up the stack to give it a fake stacked appearance?
Reply to this email directly or view it on GitHub: https://github.com/mdellanoce/stoneage/issues/12#issuecomment-3452799
How would the thickness work?
Haha... as if I know that..
Brian Hazzard
On Wed, Jan 11, 2012 at 5:05 PM, Michael Dellanoce < reply@reply.github.com
wrote:
How would the thickness work?
Reply to this email directly or view it on GitHub: https://github.com/mdellanoce/stoneage/issues/12#issuecomment-3454562
Oh, I thought there might be some CSS3 magic I didn't know. Perspective just sort of "leans" an element into the page, but doesn't give it depth... its the depth part I don't know how to do.
using a 2px offset and bottom box shadow to simulate a stacked effect
In the real game, knowing how many buildings are left is important for planning your actions based on proximity to game-end.