How do I get the source atop blend mode to work properly?

Get help using Construct 2

Post » Thu Feb 12, 2015 6:25 am

I'm working on building a dynamic persistent global mini-map. I'm going to write a walk through for it assuming I get it working. I've used the example file to move ahead on my project, but now the fact that I can't get the blend mode to work on my own is driving me insane.

I start a new project. Create a layer with transparency, and force own texture on. I create 2 sprites. I set the one at the bottom of the z order to blend mode "source atop" and have it overlap the other. What happens is the top most sprite stays the same and the bottom sprite becomes invisible. I've tried a multitude of tweaks, and changes to no avail. So can someone give me a quick guide? or fix what ever I'm doing wrong?

Thanks in advance. :)
B
4
Posts: 3
Reputation: 206

Post » Sat Feb 14, 2015 3:14 am

I'll try to make a video tomorrow to show what is happening it may be a bug.
(I'm using Construct 2 Personal through Steam)
I've added in new sprites to Blend mode demo and set them to source atop on the effect 7 layer. I moved them to the bottom of the z-order and they worked fine. If I move the 5 shield(object the source atop objects load over) to the bottom of the z-order it still works. If I make a new sprite on the same layer and put any of the source atop objects behind it; it doesn't work. The 5 shield logo is magic. :C
B
4
Posts: 3
Reputation: 206

Post » Sat Feb 14, 2015 3:18 am

Never mind. Instead of just using send to the bottom of Z order or to the top of Z I just used edit Z order and moved stuff around. After I did that the blend mode worked fine?
B
4
Posts: 3
Reputation: 206

Post » Mon Jul 11, 2016 11:42 pm

I'm having trouble figuring out source atop, too. Whatever object you mark "source atop" is invisible anywhere it overlaps transparency on its layer. What's giving me trouble is having 2 objects on the same layer be source atop, which might not be allowed.

Aaaannnddd..... I just saw this post is a year old...




Eh, Steve!
Eh, Steve!
B
115
S
54
G
13
Posts: 113
Reputation: 16,151


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 6 guests