achieve this lightning effect

For questions about using Classic.

Post » Mon May 28, 2012 6:19 pm

Is there a way to combine oppenheimers example with newts first one?
I mean, there were 2 points the bolt was connected, both could be moved.
Or isn't that possible with that technique?
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon May 28, 2012 6:43 pm

@newt: thanks ;) ... constantly randomizing the noise would have been impossible (512 map size needs about 2 or 3 seconds). i pushed the data into an array to have the opportunity to process it.

@zyblade: you could reshape the amplitudes when you re-write the array data. to use the start and end point, you definately need more math. in the current state of the example it's just half of the layout height + offset.
the cpu's processing time heavily depends on your map size of the noise and the number of instances which are moved/scaled/rotated. once it's done (at startup) its data is available through the array. gpu issues shouldn't be problem. only the post-processing stuff (2x blur & glow) is taking about 6mb of vram.

"Is there a way to combine oppenheimers example with newts first one?"

of course! just pull the array/noise-data and use it as displacement.
B
61
S
7
G
2
Posts: 95
Reputation: 4,307

Post » Wed May 30, 2012 11:28 am

here's another approach combining perlin noise & displacement via ribbon.

grab a CAP

a few hints:
- 2 Noises are being used for X and Y distortion (each with a different seed ofc)
- global('Strength') determines the strength of distortion in pixels
- global('Segments') determines subdivsion (keep it reasonable or glitches may occur)
- global('NoiseOffset') animates the whole thing (see event 2)
- boxes are draggable.. woohoo ;)
- play around with the variables (especially noise settings, e.g. noise type, frequency etc.)
B
61
S
7
G
2
Posts: 95
Reputation: 4,307

Post » Wed May 30, 2012 11:52 am

Oh yeah, gonna try that out now. Thanks^^ Or from german to german "Dankeschn!"(thank you) ^^
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Aug 07, 2017 5:05 pm

Hello there, guys! Can you help me out a little? I want to know how to make lightning effect too.. but the links seem to be all dead..
B
3
Posts: 9
Reputation: 195

Post » Mon Aug 07, 2017 5:40 pm

@joedman593

Are you sure you have posted in the correct section?

This thread is over 5 years old for the - now retired - Construct Classic software, so the links are likely to be no good.

If you meant to post here, then you will have to hope some user still has such old files available and are willing to post a link for you.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Mon Aug 07, 2017 6:05 pm

I was hoping they'd still be here. I really wanted to see what those dead links contained.

I've been lurking the forums for a few hours now and most I found only had dead links.

Can you help me out? Or should I just make a new topic about dynamic lightning?
B
3
Posts: 9
Reputation: 195

Post » Mon Aug 07, 2017 6:12 pm

joedman593 wrote:I was hoping they'd still be here. I really wanted to see what those dead links contained.

I've been lurking the forums for a few hours now and most I found only had dead links.

Can you help me out? Or should I just make a new topic about dynamic lightning?


Is it Construct Classic you are using rather than Construct 2/3 ?

If so, then a new thread requesting help would probably be best.

This old section isn't used very much these days, so you may have to be patient when waiting for a response.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Mon Aug 07, 2017 6:21 pm

I'm using Construct 2 at the moment.

I made new thread a few moments back, yeah, it feels that my only hope for now.

Too bad DropBox killed their links. I feel like I missed out on a lot of cool stuff here.
B
3
Posts: 9
Reputation: 195

Post » Mon Aug 07, 2017 6:33 pm

Most of the Construct Classic examples used distorts, but we don't have anything like that in Construct 2. If we did it would be a webgl solution only.
The closest thing you could do in C2 now would be something like ray tracing where you cast lines/ stretch sprites from xy, to xy
You can even cast multiple sprites end to end for the zigzag effect.
Which coincidentally is much easier to do in C2 than CC.
Image ImageImage
B
168
S
50
G
163
Posts: 8,224
Reputation: 105,067

PreviousNext

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests