bluecake Posted June 8, 2018 Share Posted June 8, 2018 Hello, Here I would like to know how to do, to make the effect of a torch on fire on Phaser, in the genre we see only 10 cm around and the rest of the room is black? Sincerely and thank you Link to comment Share on other sites More sharing options...
espace Posted June 8, 2018 Share Posted June 8, 2018 you have this example but it's phaser 3...: https://labs.phaser.io/view.html?src=src\game%20objects\lights\graveyard.js and also this for the halo effect : https://labs.phaser.io/view.html?src=src\game%20objects\lights\spotlight.js bluecake 1 Link to comment Share on other sites More sharing options...
bluecake Posted June 8, 2018 Author Share Posted June 8, 2018 9 minutes ago, espace said: you have this example but it's phaser 3...: https://labs.phaser.io/view.html?src=src\game objects\lights\graveyard.js and also this for the halo effect : https://labs.phaser.io/view.html?src=src\game objects\lights\spotlight.js thank you very much ! Link to comment Share on other sites More sharing options...
casey Posted June 9, 2018 Share Posted June 9, 2018 Check out the particles plugin, as well. It can do this for you. https://phaser.io/shop/plugins/particlestorm Link to comment Share on other sites More sharing options...
Recommended Posts