Wall and Shadow...

sebmacflysebmacfly Member Posts: 1,018
edited November -1 in Working with GS (Mac)
Hello there :)

I need to display a shadow for all my walls in my game...
Here what i'm doing :
My wall actor is 128x32 pixels (graphics horizontal:tile, vertical:fixed)
My shadow actor is 128x32 pixels (graphics horizontal:tile,vertical:fixed)

In my wall actor, i have a behavior, spawn shadow to +10pixels right and 10 pixels down. So using that method, when i place my wall, the shadow is spawning automatically...

The problem is :
When i make my wall more then 128 pixels (example 600) my shadow is spawning to his actor size (128) and not 600 pixels...
I need to spawn the shadow actor to the same horizontal size as the wall actor.

Any help on that?

I thank you!

cheers

Comments

Sign In or Register to comment.