Author Topic: Overlapping Walkable Areas  (Read 180 times)  Share 

Bavolis

  • Just past the Gnarled Scar.
Overlapping Walkable Areas
« on: 18 May 2012, 21:24 »
My searching through the forums came up with some answers on how to solve this technically, and I have some ideas, but my problem at even starting is a bit more basic. I'm trying to get a "bridge" type walkable area to pass over an underpass. Here's the sketch example:



The problem I have is when I create the "top" walkable area and then draw (in a different ID of course) the "bottom" walkable area - it seems to eat a gap out of the top one. Is there a way to have two paths drawn that don't eat each other where they cross?

Khris

  • Evil Dark Emperor Death-Kill
    • Lifetime Achievement Award Winner
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: Overlapping Walkable Areas
« Reply #1 on: 18 May 2012, 21:52 »
No, the walkable areas are stored using a simple 2D bitmap. Thus, one pixel can't belong to two different areas.

The usual workaround is to use a combination of areas and regions, to track the movement and turn walkable areas on/off.
There's no straightforward way to solve this, faking 3D with 2D tools is always complicated.
http://whathaveyoutried.com/

The other day on yahoo answers:
"Can you print colored images with black ink? If so tell me how please Thanx Kimberly"

Bavolis

  • Just past the Gnarled Scar.
Re: Overlapping Walkable Areas
« Reply #2 on: 19 May 2012, 01:04 »
Ok, I'll try that workaround. Thanks!