For any one interested, I've made an experimentation on recreating a dynamic Lens Flare effect. Ideally some genius could do it with a behavior or something, but here it is, in my own layman way <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">
Here is an online preview: http://www.eli0s.com/Tests/LensFlare/
And here is the capx file:[attachment=0:cpkhnibs]LensFlare.capx[/attachment:cpkhnibs]
Please feel free to build upon and improve this example! I'll be happy to see any suggestions and ideas! Just don't turn your game into a JJ Abrams movie <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">
note: with 32 lens objects I get 3% cpu usage (on the debugger running in Chrome). I feel like it's fare enough but I have no idea hoe this scales on non desktop devices.
note2: Ashley , I don't know if it's my system's problem but the same capx gives me an assertion error with version 186. Is this a bug perhaps? Also, I've noticed in the last few versions of C2 that the Tilled Background object produces an artifact, at least on the preview mode. It's hard for me to explain in English, please have a look on the TB object in this capx, notice that I've intentionally left a 1 px line empty on the bottom of the image. Otherwise, when the height of the object is 256 px (the default image's height) there is a 1 px bleed on the top.