Hi there, I am trying to make an “escape room” sort of game. Levels 1 - 7 work perfectly fine, but when I try to change a tile of a closed chest to an open one, it doesn’t do so. Changing an “on” lever to the “off” position doesn’t show, but the code after it that changes the lava to the floor works fine.
Here is my code: https://github.com/unsignedarduino/escape-the-dungeon
(Please excuse my ugly code )
TL;DR: I am making an escape room game. Levels 1 - 7 work. Only some of level 8’s tiles update when changing tiles.
Thank you for your help in advance!
WOW! That game is awesome!
You have found a bug! I’ve opened an issue for it here: https://github.com/microsoft/pxt-arcade/issues/1737
Basically, the issue is that the open chest tile doesn’t appear anywhere in the tilemap.
You can work around it by opening your tilemap, adding an open chest, and closing the tilemap editor. You can probably even delete the open chest from the map after is has been added at least once.
Thank you for doing that too. I was going to plan on doing it if I didn’t find a solution.
And it obviously works. (After I used the open chest in the tilemap at least once, I could delete it.) Thank you so much!
No problem! Thanks for reporting the issue!