JordyMoos / elm-pixel-boulder-game

Pixel Boulder Game in Elm
https://jordymoos.github.io/elm-pixel-boulder-game/?startLevel=official%2F001&hideDebug=1
MIT License
41 stars 6 forks source link

Boulder kills you to easily if you are moving to a spot that the boulder wants to claime too #136

Closed JordyMoos closed 5 years ago

JordyMoos commented 5 years ago
.o.
*p*

If you want to claim the diamond on the right. Then the boulder will fall down. But it is still possible to go back left. Which will let you claim the same position as the boulder. Causing the boulder to fall on your head. Annoying bug

JordyMoos commented 5 years ago

Can not really reproduce. Only seems to happen when the boulder was already falling. Which should indeed kill you if you then move to the same spot as the boulder. What often seem to happen is that your move happens earlier (in the same game tick) as the boulder move. Therefor it looks like you get killed too easily. An option would be that the player moves last and therefor could not move to that location (because the boulder already claimed it)

JordyMoos commented 5 years ago

Will reopen on more proof off course