dgcor / DGEngine

An implementation of the Diablo 1 game engine
Other
243 stars 30 forks source link

Collision detection, it is possible to walk through the cathedral #9

Closed mewmew closed 8 years ago

mewmew commented 8 years ago

Collision detection, it is possible to walk through the cathedral

Collision detection, passing through the cathedral

ghost commented 8 years ago

I knew about this. I just let it be that way as it wasn't critical.

I just fixed this on 8c320b0. The reason why this happened was because I added all possible 8 movements to the search algorithm, and you can't add diagonal movements if the corresponding straight ones are not passable.

mewmew commented 8 years ago

I just fixed this on 8c320b0.

Lovely. Closing this issue for now as it has been resolved in the aforementioned commit. Will re-open if I notice any further issues.