Closed MHOOO closed 11 years ago
I'll add shadowColor and shadowBlur into TextActor. Also Shape/Star actors could benefit from this effect as well. Let me know if you'd like it be added into other image based actors as well.
Yes, I think this should be on pretty much every actor. As of now, I have simply one function which wraps the paint method of any actor I specify and sets the values manually.
Hey Thomas,
I added those features, but removed them immediately since they took too many cycles to perform. Since i know it's been improved in chrome, will get back to this in another moment. Will keep the issue open to remind me of it.
-ibon
may be you could have a config file with different performance settings enabling/disabling these features? (and a console warning if you use them while disabled ;-P )
Hello There, I really like your library and I would like to see it support shadowColor & shadowBlur canvas attributes. My javascript however is mediocre at best and I've got no clue as to where I should add the functionality (and even less how to re-build the build/caat.js). Any advice on that?