Legofarmen / tunics

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

Bounce enemies away from appearing chests #82

Closed mattias-p closed 7 years ago

mattias-p commented 8 years ago

Fixes #27. To ease debugging I've tailored a test case that I'm providing in the https://github.com/mattias-p/tunics/tree/stuck-debug branch. For some reason Solarus 1.3 and 1.4 ends up generating different levels for the same seed, and the test case only works with 1.4. Moreover, the test case only focuses on puzzle obstacles. This PR applies the same behavior for both bow and lamp obstacles as well. However, I don't have special test cases for those.