Jump to content

  • Log In with Google      Sign In   
  • Create Account


The_Doc

Member Since 14 Jun 2011
Offline Last Active Dec 19 2013 04:38 PM

#4835297 [XNA] 2D Point and click games - how do they work?

Posted by The_Doc on 14 July 2011 - 09:35 AM

Alternatively to cutting the image up and layering it, you could use a pseudo depth buffer as well. In it you would have key-values (graphically for editing you could use something like Magenta or some other stand-out color), then, when drawing your sprites, check the buffer at the sprite's position and don't draw anything that collides with the Magenta value.

Just a thought. I do think it would be more difficult to implement this efficiently than just layering, but, from a development standpoint it it would be quicker and simpler than chopping all your map screens up in randomly sized chunks.


PARTNERS