Anyone know how to change the alpha on certain objects on the HTML5 canvas, and not everything? (ie - glowing particles)
-
-
Replying to @DaveVoyles
@DaveVoyles You talking Bloom? Additive or Opacity?2 replies 0 retweets 0 likes -
-
Replying to @DaveVoyles
@DaveVoyles Maybe Object.fillStyle = "rgba(0, 0, 0, 0.5)"; = 50%1 reply 0 retweets 0 likes -
Replying to @firebellys
@firebellys I mean, I guess my issue is that I'm applying alpha globally, instead of to the specific fillRects1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@firebellys so ideally I'd like for it just to affect drawRects (stars), but not images that I draw1 reply 0 retweets 0 likes
@firebellys Or maybe... I can save, set alpha on the object I don't want to get affected, then restore? I'll try
6:01 PM - 25 Sep 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.