Inverted multiply

For questions about using Classic.

Post » Wed Oct 01, 2014 12:59 pm

Alright so what I'm trying to create is the lighting used in Roguelight

I may be way off but I've been using the multiply effect on two different layers, top one with the light sphere and bottom with the boxes, and the boxes have an additional multiply effect on them. This kind of works and gives this result

Image

But what I want to do is have control over the color of the squares as now they are strictly black or dark shade, if I try to edit the sprite with a lighter color it just blends more into the background. Thanks anyone.
B
5
S
1
Posts: 20
Reputation: 446

Post » Thu Oct 02, 2014 12:17 pm

So basically, I need to have an object make another object transparent to show the layer below them but I need control over the colors so I can't just use a multiply effect like normally. Anybody? :(

Can someone explain to me why this works in the editor but not in-game?

Image
B
5
S
1
Posts: 20
Reputation: 446

Post » Thu Oct 02, 2014 1:14 pm

aw geez I think I finally solved it. I had two layers, bottom one with whatever, and the top one had an object with the erase effect, and the color replacer effect by R0j0hound on the layer to control the result. The top layer needs to be transparent and then you use color replacer to change the black (0, 0, 0) to whatever you like.

https: // www .dropbox.com/s/zygvwnru4d91t96/yaaay.cap?dl=0

and the result

Image
Last edited by tuaarita on Wed Dec 03, 2014 5:02 pm, edited 2 times in total.
B
5
S
1
Posts: 20
Reputation: 446

Post » Fri Oct 03, 2014 4:27 am

Great job! Thanks for sharing your solution :)
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
120
S
41
G
17
Posts: 2,214
Reputation: 19,665

Post » Fri Oct 03, 2014 9:08 am

Here's the link to the Cap above: Click here

Also this can be done easily in Construct 2:

InvertedMultiply.capx
You do not have the required permissions to view the files attached to this post.
B
22
S
6
Posts: 244
Reputation: 2,690

Post » Sat Oct 04, 2014 10:01 pm

tuaarita wrote:aw geez I think I finally solved it. I had two layers, bottom one with whatever, and the top one had an object with the erase effect, and the color replacer effect by R0j0hound on the layer to control the result.

color fusion (masked) effect
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279

Post » Sun Oct 05, 2014 11:53 am

^
Thats basically what I needed but you can't set it to be a solid color with that, it will be either slightly transparent or black if you set the intensity between 100-200. Thanks though.
B
5
S
1
Posts: 20
Reputation: 446

Post » Tue Oct 07, 2014 11:25 pm

Ah, I see. Sorry then. I was just hooked by "create lighting". I should have read it more carefully. At least you now have another effect in reach, should you need it :D
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests