Blend mode source atop for only one layer? is it possible?

Get help using Construct 2

Post » Sun Aug 17, 2014 12:46 pm

Hi,

i wonder if it is possible to set the blend mode only affecting one layer or better ignoring one layer.
I want to make a worms like game, for that i created a layer with tilemap (1*1 tiles), for letting it look good i have a second layer on top of that with blend mode "source atop", so this layer will only be visible where tiles are under it. Works fine with all layers transparent but it results in an black background (or grey on some browsers).
I would like to add an layer with backgroundimage thats excluded from the blending of the top layer so it doesnt show where backgroundimage is behind it, is this somehow possible?
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Mon Aug 18, 2014 10:49 am

nobody? :/
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Mon Aug 18, 2014 10:59 am

I cannot use C2 currently, but did you try forcing the texture of the layer? (Force own texture), it helped me with blend mode effects before.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Mon Aug 18, 2014 11:16 am

Thanks!
but sadly it makes no difference, the "source atop" sprite always shows where it has anything in background
B
38
S
11
G
5
Posts: 485
Reputation: 5,340

Post » Mon Aug 18, 2014 1:32 pm

I made this some time ago. For some reason it doesn't work on Node-Webkit if Webgl is on.
You do not have the required permissions to view the files attached to this post.
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Mon Aug 18, 2014 9:35 pm

so this works but the background is actually the layer on top? crazy!
thank you very much!
B
38
S
11
G
5
Posts: 485
Reputation: 5,340


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests