User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: EGA Fade transitions?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    705
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    EGA Fade transitions?

    On the old 16 Color games, fade to black transitions used to work by rolling through the 16 colours available until black, Is there an effect like this in fusion? Almost like a post-posturize for the whole screen?

  2. #2
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jokk3's Avatar
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could write a simple effect shader where the shader modifies RGB values of the pixel based on the effect parameter setting (that you cycle trough in events). You could also add some color crushing to the effect to make it look more like an EGA game. If you are using strict palette you could probably do something with Animation-> Replace Color (but in practise it is probably faster and easier to do it with a shader).

  3. #3
    Clicker Fusion 2.5Fusion 2.5+ DLC
    casleziro's Avatar
    Join Date
    Mar 2013
    Location
    United States
    Posts
    646
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    A [very] simple way to do this is with an active object the size of your screen, with animation frames going through your different colors until black.

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    705
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Yes, I think a posturize shader would work most effectively, is there a shader avilable that does such an effect?

  5. #5
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jokk3's Avatar
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is very easy shader to do. You probably can find HLSL or at least GLSL tutorial that shows how it is done. (With GLSL you need to convert some things to HLSL, like vecs are floats and mod is fmod - simple stuff).
    Anyway here is what simple posterization + grid quick backdrop and action that runs alt variable up and passes that as shader effect parameter looks like (you can get better effect by putting some time into how the shader handles the color values and if you figure out how you can resize to screen without CTF messing up grid patterns):


  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    705
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I've never actually used shaders! Can you make them in fusion or does it require programming?

  7. #7
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jokk3's Avatar
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Shaders are called "effects" in Fusion for some reason - they can be found under object/layers properties - display options. Fusion has editor for them, but it is text based, so it requires programming. However most stuff is pretty simple. You basically manipulate loop that goes trough all the pixels one at the time (in programming sense, in actuality it uses GPU to calculate multiple pixels at the same time). All you do is change the color of the one pixel based on some kind of math of you choosing. It is bit more advanced stuff, but if I can make something with it, so should others as well.

    There are tutorials for HLSL but there are far better ones for GLSL. GLSL has some different names for things, so you have to translate things but there are sites that let you to play with them in real time (like glslsandbox.com).

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    705
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    So, effectively, all I need is to stack a fade to black or from black behind a posturize effect that gradually posturizes more as it cycles?

  9. #9
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jokk3's Avatar
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Posterize image and then push the RGB colors towards black. You might not want a fade because it is too smooth of a transition. In my video example it is 1)posterize 2) then subtract 0.03 from first color (green) in every cycle [color values in this case are 0.0-1.0 instead of 0-255] 3) when first color is dimmed enough, start subtracting from next (red) 4) and when that is done do the same for blue. In the video example I probably subtract too little on every cycle, making it too smooth.

  10. #10
    Clicker Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Jokk3's Avatar
    Join Date
    Dec 2013
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just to help along: This is the posterization method that I used in the video. It might not be "real posterization" (i don't know) but it is close enough.
    Code:
    float4 orgPix = tex2D(img, In.Texture);
    float3 mixedC= orgPix+(orgPix*orgPix);
    float3 finalC = floor(mixedC);
    Out.Color = float4(finalC, 1.0);
    It does not take in a count of transparency, and so it works best as in a shader for a layer.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 8th June 2015, 10:11 PM
  2. Fade transitions
    By Renatos in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 1st March 2012, 02:38 PM
  3. Fade Transitions
    By loglady in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 12th August 2011, 06:59 PM
  4. Fade-in transitions
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th June 2009, 03:02 AM
  5. Bug with layer + fade-in transitions?
    By Popcorn in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 1st July 2006, 02:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •