flypup / duel-of-the-devs

Duel of the Devs Web Game. Continuation of GitHub Game Off 2012 entry.
http://minimonks.com
2 stars 1 forks source link

z-sorting from map collision to top layer, Query assisted #62

Closed robwalch closed 11 years ago

robwalch commented 11 years ago

entity is no longer 'inside' the layer of the map shape they overlap, we need to start there and then check other layer shapes to see if we're in front.

What about ignoring entities and layer elements off screen?