Jump to content

How to add glow effect on a sprite


shohan4556
 Share

Recommended Posts

There is one of two ways you could achieve this. 

A: Create a white png the same shape as your sprite and add it as a child to the sprite. Make it a 1.1 scale, so it's slightly larger, change the alpha to 0.5 and use a tint on it to make it any colour you wish.

B: use a bitmap copy image of the sprite, you'd use less memory this way, then perform the same manipulations to this.

If I get five minutes today, I'll do a quick demo, but no promises. I'm pretty busy at the moment!

Hope this helps

Link to comment
Share on other sites

19 minutes ago, megmut said:

There is one of two ways you could achieve this. 

A: Create a white png the same shape as your sprite and add it as a child to the sprite. Make it a 1.1 scale, so it's slightly larger, change the alpha to 0.5 and use a tint on it to make it any colour you wish.

B: use a bitmap copy image of the sprite, you'd use less memory this way, then perform the same manipulations to this.

If I get five minutes today, I'll do a quick demo, but no promises. I'm pretty busy at the moment!

Hope this helps

Thanks for the reply I really appreciate your code, feel free to share when your are free :) 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...