Legofarmen / tunics

A roguelike-like Zelda game for the Solarus engine.
http://tunics.legofarmen.se
Other
37 stars 11 forks source link

Flying enemies can't fly over "low" obstacles #77

Closed mattias-p closed 8 years ago

mattias-p commented 8 years ago

Flying enemies should be able to fly over "low" obstacles like barriers.

sandstrand commented 8 years ago

Possible causes and solutions:

christopho commented 8 years ago

Entities of ground "low_wall" can be traversed by flying enemies in the engine, I confirm it. By flying, I mean enemy:set_obstacle_behavior("flying").

sandstrand commented 8 years ago

Thanks, I'll check the code.

mattias-p commented 8 years ago

I've got a fix for this on the solarus1.4 branch of my own fork here at Github. Since I created it using the 1.4 quest editor we might want to merge the migration first, in case the editor broke something for 1.3?

mattias-p commented 8 years ago

Here's a good level for testing this: seed = 1468091799 tier = 2 There are bats and low walls in the room to the east.