Nayjest / H5FTBS

Html 5 turn-based strategy game in fantasy style
1 stars 0 forks source link

Consider Y-coord when zIndexes is equal #35

Open Nayjest opened 12 years ago

Nayjest commented 12 years ago

If two objects with same zIndex intersects, object that is located below must be drawn on the top of object that is located above. For canvas/webGl layers -- draw layers sorted by Y coord For DOM layers -- modify zIndex when changing offset(?)