How do I make new effects?

Get help using Construct 2

Post » Tue Sep 16, 2014 1:47 am

Hello,

I'm pretty new to Construct, but I'm quite experienced with GLSL. I'd like to make my own custom effects for Construct, but I can't seem to find a reference on the specific format required by the program, or the predefined variables that I can use, anywhere.
I've tried searching the forums, checking the manual, the tutorials, the how-to list, but I can't find it! Could anyone help me?
B
4
S
1
Posts: 3
Reputation: 356

Post » Wed Sep 17, 2014 12:26 pm

@ glitchg

Probably best to start with downloading the SDK templates from here: https://www.scirra.com/manual/15/sdk.

Then look at the built in examples and just experiment. If you understand GLSL (which I don't BTW) then you should be able to work things out from the current examples that come with C2.

If you encounter problems or have queries, may be best to post in the Effects section here: https://www.scirra.com/forum/effects_f184.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,414
Reputation: 59,514

Post » Thu Sep 18, 2014 9:59 pm

Well, that's what I've been doing.

The problem I have is actually that Construct sends many variables to the shader, including stuff like the image the effect is being applied to and the pixels it is overlapping, among others. Knowing which of those is what is required for the implementation of many effects, but it doesn't seem to be documented anywhere.

I'll try asking in the Effects forum, though. Thank you!
B
4
S
1
Posts: 3
Reputation: 356


Return to How do I....?

Who is online

Users browsing this forum: boybacteria, dop2000, Microbex and 23 guests