When i make an example, it has to be fun for me too. So ... i made some choices.
I have here 3 instances of a tilemap, and i use all 3 for a different purpose.
1 to show the walls
1 to show the field of vision
1 to show a path to the mouse when that mouse is in the field of vision
A click moves the player.
But, finding a path in a tight maze with the official plugin is hell and way to slow.
Using floodfill to calculate the fov is to time consuming for me for just an example
So i am using a 3th party plugin (i am sure you will like it too)
That plugin can generate maps. But i dont use that feature. I just bring a pre made tilemap into the plugin.
Once the tilemap is in the plugin, it can calculate all that i need in a snap.
Besides that, i use the MoveTo plugin to move the player.
Up to you if you want to install the plugins to open the capx. Here is the capx:
https://www.dropbox.com/s/rk4xlo545sisu ... .capx?dl=0