Can I do something like Crossy road's ghost effect in Corona?

I want to do something like shinning only around the character. Does Corona SDK have the solution for this at least something that similar?

crossyroad_gravedigger.jpg

Yes, there is a way to do this.  See:  https://docs.coronalabs.com/guide/graphics/effects.html#composite.normalmapwith1dirlight

and: https://docs.coronalabs.com/guide/graphics/effects.html#composite.normalmapwith1pointlight

The screen caps in the docs don’t demo it well, but you should be able to use it to control lighting effects.

Rob

Thank you very much Rob :smiley:

Yes, there is a way to do this.  See:  https://docs.coronalabs.com/guide/graphics/effects.html#composite.normalmapwith1dirlight

and: https://docs.coronalabs.com/guide/graphics/effects.html#composite.normalmapwith1pointlight

The screen caps in the docs don’t demo it well, but you should be able to use it to control lighting effects.

Rob

Thank you very much Rob :smiley: