*Please note, this thread is for discussion of the plugin and improvement/recommendations. Last time I did a thread like this, it stretched on for 50 pages, as people started using it for troubleshooting their own projects.
Hey there! Just wants a quick post about peoples concerns with the new light/shadow feature so far.
A while back I shelved the development of a pretty fun game purely because it relied on the shadow features granted by the paster plugin. It looked and played great, but I had issues in regards to the speed. You had to have a pretty decent machine to run what otherwise was a very simple game... and sadly, that just wasn't worth while.
In any case, since the feature has come back to me in a form that is faster (can be used on mobiles), I thought I would pick the project back up... but very quickly shelved it again, and here's why.
Multiple Light Sources
My game relies on multiple light sources. Before, I was able to touch a button on the keyboard and spawn in new light sources using the same light over and over. With this one, I notice that for each light source you wish to introduce, you need to have a new object (ShadowLight1,ShadowLight2,ShadowLight3). If you don't, then the light sources appear to cancel each other out, and will only appear where they are zero shadows at all.
*EDIT - Turns out you do not need multiple objects. My bad!
It looks like you need to set the transparency to 50% or so if you have 2 lights to avoid each one washing the other out... but that's not of use to me sadly. I want anything in shadow to be completely dark, and anything in light to be completely light. I'm amazed that shadows are more dominant than light with this plugin.
This is an example with 3 lights with 33% opacity.
This is an example with the same 3 lights with 100% opacity.
As far as I can tell, it's impossible for me to get the effect I want. If I was to set this up in real life, using real lights, I would be able to see the middle of the area without any issues.
Light Colours
I'm not sure why anyone would be interested in having different coloured shadows. Who know, maybe they will. It doesn't interest me though. In my original game, when a green light hit a red light, I'd get a yellow light. Looked cool.
Seeing as this was almost a year ago, I can't remember exactly how this was achieved... but very well may have simply been an addition effect added to a coloured sprite. In any case, I suppose there's no reason not to have it, but like I said... it doesn't interest me, as I don't see the benefit.
Shadow Length
I want my shadows to go on forever. If there's no light, I want darkness. For some reason, if I have my level with 1 light, without height, without WebGL soft edging, without radius... I still end up with random glitches similar to, but not exactly like this:
Final Thoughts
I love the fact that we're getting this. This has been on the top of my list for about a year and a half, so I'm really happy we're seeing it being developed now. I'm not interested in putting anyone down, as I really am happy... but I just wanted to gauge peoples feedback on it to see what is impossible to change, and what we can really make use of. I'm hoping this plugin is actually something that can be improved on, and isn't just a simple drop in plugin.
Anyone else have anything to add?