Hi @TozyJay,
Currently, Corona doesn’t support dynamic shadow and lighting effects (as in, shadows and lighting which shift and change depending on other objects in the path of the light source). Hopefully that’s in the roadmap sooner than later, because it would provide for some amazing graphical effects.
You could attempt to build a dynamic lighting system yourself, but I imagine it would be VERY difficult, if not practically impossible.
It’s also possible that you could extend your app to use Corona Enterprise, and code a dynamic lighting engine in C++ or Objective C… but that approach is more than the typical indie developer can justify.
Some simple shadow and lighting effects can be achieved using overlay/underlay images, opacity, and tinting. For example, you could put a “glow” effect around a character using another display object that pulsates, flickers, or changes tint and opacity. But this won’t handle dynamic lighting aspects, i.e. if that light source hits the corner of a wall in a top-down 2D simulation, the light source won’t wrap around the corner like it would in a full-fledged dynamic lighting system.
Brent
[import]uid: 9747 topic_id: 30909 reply_id: 123633[/import]