Replies: 1 comment 1 reply
-
I think I know the issue. The problem is, that the observable is firing before the new position is set. I guess this could also be the cause for the bug that you were describing in #159 ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the middle of experimenting with the
movementStopped
observable, and it was going fairly swell. I took the "trigger" tile example from thepositionChanged
demo and tried to instead apply it tomovementStopped
, and it works with one caveat.Here's the code...
And the console will print "checking for trigger" and "nope" on all the correct tiles. However, when I step onto the "trigger" tile, it still says "nope"...but then I move off the "trigger" tile and then it prints "found it!". Why is this? Am I checking wrong?
Beta Was this translation helpful? Give feedback.
All reactions