tdelta / SynergyQuest

SynergyQuest is a 2D top-down cooperative multiplayer action-adventure video game using web-based smartphone controllers.
Other
13 stars 1 forks source link

Sokoban boxes and other obstacles can block respawn points #4

Closed ahbnr closed 4 years ago

ahbnr commented 4 years ago

(discovered by @potamides )

If a Sokoban box or other obstacle is moved onto the respawn position of a player (while they are falling to their death etc.) they will respawn on a adjacent position. If this position is a chasm or similar, a respawn loop can be caused.

Note There is already some code for door spawners which selects a safe spawning position if the original position is occupied by an obstacle. Maybe we can also utilize this code to resolve this issue.

ahbnr commented 4 years ago

Fixed by pull request #13