flare-engine icon indicating copy to clipboard operation
flare-engine copied to clipboard

Ghost type enemies can walk out of map

Open igorko opened this issue 11 years ago • 4 comments

Noticed in noname mod, governor map. Happened with ghostly commander and shade when running from hero. I guess this is because these creatures can walk through walls, but they should not walk through out-of-map tiles.

igorko avatar Nov 09 '14 09:11 igorko

There's currently no difference between walls and out-of-map tiles on a collision level. So I'm not sure what to do about this.

dorkster avatar Nov 09 '14 10:11 dorkster

When hero transform that allows moving through walls was fixed, I was able to test this. Well, I was not able to move out of map rectangle, I just was able to move inside map rectangle through all tiles. So there is difference between out-of-map tiles and in-map tiles.

igorko avatar Jan 26 '15 21:01 igorko

Maybe we could add another collision type?

igorko avatar Jan 26 '15 21:01 igorko

Sorry, when I said "out-of-map", I meant tiles that are visually just a black void, but have BLOCKS_ALL collision and are within the map bounds.

dorkster avatar Jan 26 '15 21:01 dorkster