flareteam / flare-engine

Free/Libre Action Roleplaying Engine (engine only)
http://flarerpg.org/
GNU General Public License v3.0
1.11k stars 188 forks source link

Ghost type enemies can walk out of map #1263

Open igorko opened 10 years ago

igorko commented 10 years ago

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.

dorkster commented 10 years ago

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.

igorko commented 9 years ago

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 commented 9 years ago

Maybe we could add another collision type?

dorkster commented 9 years ago

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.