Effects on Particles

For questions about using Classic.

Post » Fri Mar 12, 2010 4:14 am

I'm having trouble with a special effect with particles and shaders. When you apply something like Distort to a Particles Object then put on something like Tint Plus or Flame or anything like that, instead of having particles that have kind of a colored distortion to them, it does the distort then it draws a large box of the next effect (Tint Plus, Flame, etc.) that always expands/moves to cover all the particles. It covers all the space around them too in this big colored box. This is a big problem for me. I want particles that can use a distort-like effect and color the effect (rather than a clear distort, magnify, etc.).

I was wondering if there's a way to have a large colored sprite (or tiled background) or something behind the particles that will only be shown in the spots where the particles are. I'm not sure how to do this or if it would look right, but I really don't want a lack of color to ruin my special effect. Does anyone know how to make this whole thing work?
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Fri Mar 12, 2010 4:53 am

Would you mind posting a .cap showing what you're trying to do? I'm interested to see if I can get it to work.
B
4
S
1
G
2
Posts: 54
Reputation: 958

Post » Fri Mar 12, 2010 8:55 am

[quote="Mr Wolf":2v4h4l9u]I was wondering if there's a way to have a large colored sprite (or tiled background) or something behind the particles that will only be shown in the spots where the particles are. I'm not sure how to do this or if it would look right, but I really don't want a lack of color to ruin my special effect. Does anyone know how to make this whole thing work?[/quote:2v4h4l9u]

My example is probably not exactly what you are looking for, but basically it is possible. Maybe the cap gives you a starting point for it. It was created to demonstrate something else, I'm not sure if I cleared it completely from the rest.

Here is a picture of what it does:


And here is the link (cap saved under 0.99.62):
[url:2v4h4l9u]http://www.mediafire.com/file/mki2kbqtgtj/examplecoloredparticles.cap[/url:2v4h4l9u]
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Fri Mar 12, 2010 9:12 pm

Okay, imagine this:

Tiledbackground, O is particle or sprite
=================================
|
| O
| O O
|
|=================================|

So there's an object covering the screen which is completely hidden EXCEPT in areas that are covered by the particles (or overlapped, whatever). So the tiledbackground image is effectively a background behind each particle because it only shows in spots where the particles (or sprites) are, but still covers a much larger area even though you can't see it.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Fri Mar 12, 2010 11:35 pm

[quote="Mr Wolf":1gw5v2d7]So there's an object covering the screen which is completely hidden EXCEPT in areas that are covered by the particles (or overlapped, whatever). So the tiledbackground image is effectively a background behind each particle because it only shows in spots where the particles (or sprites) are, but still covers a much larger area even though you can't see it.[/quote:1gw5v2d7]
But that is exactly what the cap does, unless I miss an important info...just get rid of the text layer, and the tb is only shown where the particles are and nowhere else while covering a greater area...You should give it another try :)
Image
B
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sat Mar 13, 2010 4:36 am

Oh, sorry. I looked at the .cap but must've understood how it worked. Thanks, Tulamide.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests