AaronSmithUK's Recent Forum Activity

  • Hi

    I'm new to Construct 2 but really loving it!

    I'm porting in a simple game made with html5 dom that uses drop shadow on png images.

    I need the shadow to be a simple outline shadow on the sprite/png that observes the edge of the image. This is easily done in css with:

    .shadowfilter {
    	filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
    }
    [/code:2kv8mc9k]
    
    An example can be seen here:
    [url]http://thenewcode.com/598/boxshadow-property-vs-dropshadow-filter-a-complete-comparison[/url]
    
    I've tried the ShadowLight object with the ShadowCaster behavior but it's overkill - the shadow does not need to move with lighting, and it doesn't render correctly on my sprite (e.g. the edges are wrong). 
    
    Is there a simple way to add static filter shadows to a sprite, or am I doing it wrong??
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
AaronSmithUK's avatar

AaronSmithUK

Member since 26 Apr, 2016

None one is following AaronSmithUK yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies