I'm new to C2 and have been playing around with it a bit over the last couple of months. I've created a couple of dynamic lighting/shadow casting tests with it that I wanted to share.
The first is a shadow casting example (looks and runs best with a WebGL enabled browser), drag the circle at the centre of the light around to see the effect: http://www.adamduncan.com/LightingTest.
The first demo is pretty processor intensive (ideally needs to be run in Firefox or Chrome to see the effect at its best) and neither example has be optimised or anything. I was just playing around to practice with C2.
Any feedback is welcome.
Edit: the .capx file for the flashlight demo is at: www.adamduncan.com/Flashlight/source.zip
Edit: the .capx file for the lighting test is at: www.adamduncan.com/LightingTest/source.zip
Apologies for the complexity of it. I've since discovered a good example done by R0J0hound in this thread: http://www.scirra.com/forum/dynamic-shadows-now-possible_topic56174.html. I recommend looking at it as it is much cleaner and nicer than mine (didn't see it until after I'd done my examples).
Also, many thanks to R0J0hound for creating the canvas plugin that made these examples possible. To run the .capx files you'll need to download it from: http://www.scirra.com/forum/plugin-canvas_topic46006.html