User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Is it possible for the RGB coefficient to only affect a part of the sprite?

  1. #1
    Clicker Install 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)

    Join Date
    May 2016
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible for the RGB coefficient to only affect a part of the sprite?

    For example, I have a laser beam. I want the middle part to always be white, but the outline can change into a random color. Is it possible for the RGB coefficient to only affect the outline and not the middle part, or I have to create two separate object?

  2. #2
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Sure, you can just make the laser object white in the middle and say red for the outline.
    Then when you shoot it, use the color replacer to change the red to whichever color you want.

    Ex.

    Always ->
    Set counter to random(3)+1

    Player Shoots laser
    +counter value = 1
    --> replace color (255,0,0) of active 'laser' with (whatever color #1 you want goes here)

    Player Shoots laser
    +counter value = 2
    --> replace color (255,0,0) of active 'laser' with (whatever color #2 you want goes here)

    Player Shoots laser
    +counter value = 3
    --> replace color (255,0,0) of active 'laser' with (whatever color #3 you want goes here)

    Small word of warning: The color replacer is a really cool thing however there is always a very small pause whenever I use it. If you're using this for an action-y type of game it might not work out so well and slow things down.

  3. #3
    Clicker Install 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)

    Join Date
    May 2016
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! I will try it out!

    P.S: LOL I didn't notice there was a Replace Color function in the first place

  4. #4
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    845
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    My problem with this feature is that it replaces all instances of the color and not on specific objects. Kind of limits it sadly.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    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)
    PlasmaVoid's Avatar
    Join Date
    Jan 2015
    Location
    SoCal
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ??? It shouldnt replace every objects color, if you go to Animation > Replace Color > Desired Color, it should only replace the color for that specific objects animations.

  6. #6
    Clicker Install 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)

    Join Date
    May 2016
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think what he mean is, if you have multiple parts of the sprite that have the same color, you won't be able to change the color of only one part.
    Am I right?

  7. #7
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    "I think what he mean is, if you have multiple parts of the sprite that have the same color, you won't be able to change the color of only one part.
    Am I right? "

    I think what he means is that it replaces all instances of that color on all active objects at once. So say if you had 10 blobs and wanted to use the color replacer to just turn one of them yellow it won't work and instead turns all 10 blobs yellow. This would be a great update for MMF3 by the way!

    To go around what you're talking about it's an easy fix though- Let's say the guy has gray colored armor and a gray colored sword. Just change the RGB co-efficient by a single digit for the sword and it'll spare it from being recolored. And best of all, the colors will still look the same type of gray since it'll only be "off" by 1 digit. Ex. to the naked eye an RGB 30/30/30 looks just like RGB 30/30/29.

    Just an idea. Personally, I love the color replacer for what I use it for (even with its limitations).

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module

    Join Date
    Feb 2014
    Posts
    1,055
    Mentioned
    29 Post(s)
    Tagged
    1 Thread(s)
    i've found that it doesnt effect the cloned objects

    tho wud be even better if u didnt need to clone objects & cud just scope them & hav it work.

    unfortunately tho, this doesnt work on ios which, wen trying to optimize & keep file sizes low is where u really need it

  9. #9
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    845
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Del_Duio View Post
    "I think what he mean is, if you have multiple parts of the sprite that have the same color, you won't be able to change the color of only one part.
    Am I right? "

    I think what he means is that it replaces all instances of that color on all active objects at once. So say if you had 10 blobs and wanted to use the color replacer to just turn one of them yellow it won't work and instead turns all 10 blobs yellow. This would be a great update for MMF3 by the way!

    To go around what you're talking about it's an easy fix though- Let's say the guy has gray colored armor and a gray colored sword. Just change the RGB co-efficient by a single digit for the sword and it'll spare it from being recolored. And best of all, the colors will still look the same type of gray since it'll only be "off" by 1 digit. Ex. to the naked eye an RGB 30/30/30 looks just like RGB 30/30/29.

    Just an idea. Personally, I love the color replacer for what I use it for (even with its limitations).
    Yeah this, what i tried to make Before was to fill a room with several human objects but I wanted their shirts to be different colors to make it look alive. but it doesnt seem to be possible to give each created object to have different colors.

  10. #10
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Well, you can still do something similar but it'd require a bit more work.

    Why not have your human object with different animations like 'green', 'blue', 'yellow' and etc where each has a different colored shirt?
    Then just spread values at the beginning of the frame and assign a random # to another value and do something like:

    If (the rnd value) = 1 then change animation of human to "red"
    If (the rnd value) = 2 then change animation of human to "blue"
    If (the rnd value) = 3 then change animation of human to "yellow"

    and etc.

    You would still get the effect you're looking for just in a different way.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Will comments affect performance?
    By render8 in forum Fusion 2.5
    Replies: 4
    Last Post: 9th August 2016, 02:56 AM
  2. Layers does not affect performance?
    By Outcast in forum Fusion 2.5
    Replies: 1
    Last Post: 5th July 2014, 07:53 PM
  3. Why does angle affect physics?
    By SolarB in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th December 2013, 03:44 AM
  4. How will new iPad announcement affect iOS Exporter?
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 12th March 2012, 02:22 AM
  5. Can Mochi Analytics affect performance
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 8th January 2011, 06:59 AM

Posting Permissions

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