Hello guys.
I have been experimenting with Shadow Light.
As result I got this light rays effect:
I thought it might be useful I could share that with you
Ok, here we go: it's really easy:
1) I have created new layer and placed Shadow Light (Settings: Light Height:200, Light Radius:20)
2) I have created another layer above and placed TileMap
3) I have add Shadow Caster and Solid behaviors to TileMap
4) I have draw my tiles..
5) Last step: in Event Sheet I have add: System, on start layout -> Shadow Light - Set Opacity to 15, Shadow Light - Set Shadow Color to- rgb(255, 255, 255)
Of course I have add player animations and controls. Please have a look at .capx project:
https://www.scirra.com/arcade/other-games/how-to-make-light-rays-10279