scrom / Experiments

a NodeJS text adventure - deliberately coded badly to re-experience the pain of legacy code
http://mvta.herokuapp.com/
2 stars 0 forks source link

auto-close door ticks cause some navigation confusion #362

Closed scrom closed 8 years ago

scrom commented 8 years ago

Player actions and views are displayed before any game item ticks. This means that doors may appear open even though they're closed. The only sensible way around this I can see is for location ticks to happen before the player move.

scrom commented 8 years ago

Better approach. Location/artefact ticks happen after the user moves but will report any local doors closing to the user :)

As part of fixing this I've also enhanced the creature movement to be clearer when creatures are coming through or leaving via doors.

scrom commented 8 years ago

sorted