I finished porting all the existing features to Godot, and it seems to work in all edge cases.
It also works building it for WebAssembly but I need to send some fake security scam headers or something so the game can't be truly served as static content.
There are still more features to be added such as moving between areas and different types of tiles.
I decreased the map size greatly because well-designed puzzle levels shouldn't be large, and there will be a lot of moving between areas.
I could even reduce it from 13x13 to 11x11, I haven't decided.
Since the map is smaller there shouldn't be any performance inconsistencies related to pathfinding.
I used mixels because Toby Fox uses them in Undertale.
There is a lack of visual clarity, I wanted to desaturate unvisitable tiles, but I need to use a shader for that so for now they are just darkened.