Gray shadows using "destination in" blending...?

Get help using Construct 2

Post » Sun May 19, 2013 5:41 pm

In full screen mode my shadows were all black, but then I turned full screen off and this happens:



What on earth is going on?

To my knowledge I'm doing the same thing that the lighting sample that comes with construct 2 is doing.
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Sun May 19, 2013 6:12 pm

The layer is of the same color as the Grey background of the webpage it seems, not sure how to bypass that
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
42
S
17
G
16
Posts: 2,087
Reputation: 15,341

Post » Sun May 19, 2013 6:18 pm

It doesn't do this in the sample though. Look:

It has the same border as my game but the shadows are black...
B
10
S
3
G
3
Posts: 234
Reputation: 3,467

Post » Sun May 19, 2013 7:24 pm

the method I used was to set a black layer in front, with the XOR blend mode, then the light are on the black layer and uses the destination out blend mode, hope that helps
https://www.scirra.com/forum/viewtopic.php?t=152506

And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
42
S
17
G
16
Posts: 2,087
Reputation: 15,341


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, badmoodtaylor and 11 guests