hcilab / Momo

The Falling Of Momo.
MIT License
4 stars 1 forks source link

Obstacles can spawn such that they block the path #16

Closed ThePenguin1140 closed 8 years ago

ThePenguin1140 commented 8 years ago

Sometimes platforms are so close together that an obstacle can prevent the player from jumping over it.

AlexKienzle commented 8 years ago

obstaclespawnblocking

Image of the issue.

aarontabor commented 8 years ago

I'm going to tweak the lower bound on the distance between platforms, and see if this resolves the issue.

aarontabor commented 8 years ago

Another flavor of this issue is that an obstacle can spawn directly below a gap, blocking the path that the player would otherwise drop through.

aarontabor commented 8 years ago

I've reduced the maximum possible height of an obstacle to avoid this issue in commit 15f71c2d53a5795733cd17c7636090824e32db84

AlexKienzle commented 8 years ago

Issue still persists: obstaclespawnblocking2

aarontabor commented 8 years ago

I've made them small enough that this cannot happen anymore in 00efde027aea976df9dc6add58e312112d308f30. However, I'm thinking that the obstacles might look too now in comparison to the rest of the game. Maybe we want to make the minimum height between platforms a little larger to allow for bigger obstacles?