Emanuele Feronato writes: "I always try to be responsive to the feedback from my readers, so when I saw one of you was in trouble with the porting of light and dark using ray casting and visibility polygons to Phaser 3, I decided to update the script.

With ray casting you can play with light and shadow in real time. Look at this HTML5 example powered by Phaser and Byron Knollā€˜s visibility polygon script. Commented source code available."

Read More