map bounds (wooden exit door)
Expansion maps starting with Kellar’s Keep and Witchlord have an alternate exit. Instead of the staircase, you can exit on the edge of the map through a wooden exit door. You can also enter the map via a metal entrance door.
I refactored the array bounds from (0-25,0-18) to (0-27,0-20) so that we can have a map border to let heroes enter/exit from map edge. This allows us to use the existing move (and path finding) logic. Later I will extend this with a special case such that walking through a wooden exit door exits the map (ends the quests).
mepem37 :: Sep.01.2018 :: HeroQuest, Unreal Engine :: No Comments »