Sprite Effect Forum Home > Construct 2 Development > Bugs > Closed bugs |
Post Reply
|
| Author | |
Post Options
Quote Reply
Topic: Sprite EffectPosted: 07 Mar 2012 at 7:04pm |
|
|
Hi,
I have 2 layers, background and game. Background has one Image. On game I have two sprites, another “background” and a sprite, a square block 100x100. What I want to achieve is the following effect: The sprite should mask out the "front background", where the sprite is located, and display the lower layer, the background. Is this possible, if so can someone please help me. PS I have tried all the options in the "Effect" Options. Regards |
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Mar 2012 at 8:09pm |
|
|
Be sure to set the top layer's property "Force own texture" to yes (like in the "Sprite effect.capx" in the folder c2\examples provided with the install of C2, this should do the trick.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 07 Mar 2012 at 8:52pm |
|
|
YESSSSSS!!!!! Thank you some much!!!
For everyone else: Set the Sprite Effect to: Destination out The Top Layer as Kyatric pointed out.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 08 Mar 2012 at 3:40pm |
|
|
Closing as not a bug.
|
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |