bhazzard / stoneage

1 stars 0 forks source link

Show how many buildings are left in each stack #12

Closed bhazzard closed 12 years ago

bhazzard commented 12 years ago

In the real game, knowing how many buildings are left is important for planning your actions based on proximity to game-end.

mdellanoce commented 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?

bhazzard commented 12 years ago

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

mdellanoce commented 12 years ago

How would the thickness work?

bhazzard commented 12 years ago

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

mdellanoce commented 12 years ago

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.

mdellanoce commented 12 years ago

using a 2px offset and bottom box shadow to simulate a stacked effect