FX documentation

0 favourites
  • 7 posts
From the Asset Store
120 Epic Fire FX Animations + 2 Bonus Characters. Contains 3000+ frames and a lot of Pixel Art Sprites
  • C2 has no information on how it ties effects files into the game. This would sure be nice. Its a royal pain digging through bundled effects just to figure out what c2 is doing. It needs to be a part of the sdk.

    TLDR: Documentation needs to be provided for effects. (ie, variables that are passed to the shader from construct, etc)

  • umm..

    you just extract them to effect folder where c2 is installed and create a config (unless you have one already) so it shows in c2.

    p.s. using shaders is just using fx files to calculate each pixel through some magical formula

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • saiyadjin - hm, I dont think we are on the same page. I mean like what variables c2 passes the frag shader (samplerfront, pixelwidth, vtex, etc...) There are a number of builtins that construct 2 automatically passes the shader. But there is no complete list in the documentation... because there is no documentation.

    I should like to be able to pass in other textures but I am not sure how to do that in construct 2, or if it is even possible. This amongst other things can be annoying to figure out without documentation. Also, also, can only the frag shader be altered or can the vertex shader be manipulated as well...

  • Having support for webgl, but then no documentation is like if there was no documentation for the sdk. Sure you can figure out everything through trial and error, and simply going through code, but that can take hours.

  • Ruskul

    'Having support for webgl, but then no documentation is like if there was no documentation for the sdk. Sure you can figure out everything through trial and error, and simply going through code, but that can take hours.'

    ----------------------------------------------------------------

    There are quite a few shader tutorials and guides on the forums -

    The following topics in the Effects section might help-

    ' Documentation on built-in uniforms'

    ' About WebGL effects'

    'WebGL Effects List '

    The easiest method is to download the 'javascript-sdk-template'.

    Inside you will find the 'effect template' and start from that.

    Many of the standard shaders supplied with C2 have descriptive lines included-

    Good luck.

  • chrisbrobs - This is all good info, thanks for taking the time to respond.

    I have read both of those forum posts, and have read through a number of bundled effects, but thats part of the problem... it takes time to hunt down that info, obviously. It just seams like that is really missing from the manual... Though I should lookup the shader tutorials on the forums.

  • You could also download the project from-

    ' https://github.com/BradLarson/GPUImage'

    Quit a few of the effects shipped with C2 are ported from this, and many of them can easily

    be changed to work in C2. (there are about 150 effects included)

    <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)