[Effect] Shader Effect & Editor released. Create your shader

0 favourites
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • oh okay, yea I guess that makes sense if you just add to the end- kind of makes it difficult to cycle through them though if you need to reference the value in construct2, because then you need to know which number relates to which variable ahead of time. Or maybe not.. I haven't checked how you modify effect values in construct.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Prominent Obviously if i change the order of the variables then not will works . The variables of the parameters are in the .xml that are passed to construct2 in the same order. So when i add new variables they go to the last place.

    Like in all the .fx on construct2 to modify any variable you have to know what parameter number is each one. But no problem, simply like add a number before each "Variable Name" and ready like:

    0) Total Noise

    1) Fire Speed

    ..

    14) Fire Quantity

    Etc...

    With that you know what parameter have to modify in reference to the shader variable.

  • matriax , I see! This is awesome, great job!!

  • Every time more and more things to do/create

    Today i added a Fade-In/Fade-Out option. 0= disabled and if you add speed this will Appear/Disappear with the speed you want.

    Now i'm with the Sinewave/Warp effect that is actually working so after some adjust and if all is correct tonight i will pass the variables to C2.

  • Warp effect added. Now You can do better fluids and twisters! :O

    https://instagram.com/p/5c42PSALzg/

    With the warp effect variables for X/Y the magma/lava looks more live.

    Also thanks to the Warp effect now you can do twisters! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    Edit: Also added a OffsetX and FadeX to get more control about the shader.

  • Updated the editor with 2 new presets that ncludes Rain and "Hot Cave".

    Here a video showing the last additions:

    https://instagram.com/p/5gtA3ugLwb/

    Image of all the presets included in the Shader Editor:

  • Any idea when you will release this ?

  • Any idea when you will release this ?

    When it's done!

    Really, see you the empty zone of the right part of the editor? well, when is filled with more options will be released . Or maybe leave this zone for add presets in the new updated that can be discovered by the people.

    If all works well i hope to release the Shader Editor the next week .

  • BrokenTV, Matrix effect, Snow and Raining discovered/added.

    https://instagram.com/p/5hvR07gL-M/

    Is incredible all the things you can do with this shader, and still i have to add some general deformations.

    Hope the people find more interesting things to add as presets for other users, and for me of course! <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Shader Editor released:

    https://dl.dropboxusercontent.com/u/659 ... index.html

    All presets working at the same time:

    https://dl.dropboxusercontent.com/u/659 ... index.html

    Please, play and test it and share your codes in this post. Works best on chrome. spongehammer Gigatron TiAm eli0s Joannesalfa

    P.D. The effect (.fx and .xml) will be released next week, i guess monday/tuesday, i have to remove all the useless code and optimize before the release.

    -

    How to share the Shaders?

    When you get one that looks good/interesting click on "Get Code" to update the parameter numbers(the text box in the bottom).

    After that, click on "Share Code Link", copy all that appears inside that and paste here. When we press the link you provided we will go to the editor website that will load automatically the shader you found/create <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> .

    Note 1:

    Remember always play with the editor in the index.html without and already sharecode in the url because this will made an error when you try to share the new code(I'm still have to solve that bug).

    In case you loaded a shader from another user and you edited and want to share it remove the "share code param" before click on "share code link". I mean, before click on the share code link button the editor url have to be "../index.html" and not "../index.html?shadercode=6|1|1|1...". In case of that will copy both codes and will do the url cause errors or simply not work.

    Note 2:

    Also have in mind that the Flip and Blend option are not saved in the sahder code, only the parameters effects. In your game when you go to use some code you have to set manually if this one have X angle or some blend effect.

  • The effect will be released tomorrow, i'm preparing the .capx files with the presets and adding comments.

    Somebody tested already? If you find some interesting shader not forgot to paste here the code to see it <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

    This are all the presets running at the same time:

    https://dl.dropboxusercontent.com/u/659 ... index.html

  • I tried playing with it a little, but it's a little hard when you can't punch in the values with the keyboards, so I gave up pretty fast, I will look into it more later.

    Anyways this is a really cool effect and editor, well done mate!

  • I tried playing with it a little, but it's a little hard when you can't punch in the values with the keyboards, so I gave up pretty fast, I will look into it more later.

    Anyways this is a really cool effect and editor, well done mate!

    Thanks for the comments.

    You have to use the Slide Bars, they refresh the shader automatically, in the case of more accurate on a Slide Bar selected press left/right arrow key to advance in the variable in a more precisse way.

    For you the problem is that you can't put the numbers in the text boxes using the keyboard? I not understad, not is more fast using Slide Bars or i'm missing something?.

  • On some cases its faster, but if you want to set it back to zero or hit a specific value it's a little tricky.

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