User Tag List

Results 1 to 9 of 9

Thread: Selective Color Replace?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Selective Color Replace?

    I've noticed the 'replace color' function of animation replaces the color of all duplications of an object with a new color, regardless of whether you use 'pick object at random' or 'ID = 1' etc.

    I'm just wonder if there's any way to replace the color of a single instance of an object while maintaining the original color of the other instances.

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export Module
    Czentnar's Avatar
    Join Date
    Jan 2007
    Location
    Budapest, Hungary
    Posts
    819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    I also couldn't get it work, I am curious, too!

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    I'm pretty sure it's not possible at all, because the animation frames are shared by all the objects, where as which frame, which animation, ect are independant. CHanging part of a frame of one changes it for all of them because I think it is a sort of shared memory of sorts. Just think, if you had a 1MB active, would you really want to increase the memory by 1 MB for every new object you make? Or would you just want to increase it by one tenth of a MB if the images are shared? Not entirely sure if that is all right, but from what I have learned about MMF2 that seem right.
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    Quote Originally Posted by LB
    I'm pretty sure it's not possible at all, because the animation frames are shared by all the objects, where as which frame, which animation, ect are independant. CHanging part of a frame of one changes it for all of them because I think it is a sort of shared memory of sorts. Just think, if you had a 1MB active, would you really want to increase the memory by 1 MB for every new object you make? Or would you just want to increase it by one tenth of a MB if the images are shared? Not entirely sure if that is all right, but from what I have learned about MMF2 that seem right.
    imo mmf should automatically make a local copy of the image data for an instance when you use the change color action; then the instance could just use that image instead of the shared set when it gets to that frame. it should also have a "relink" action that discards this local copy and again uses the shared one

    of course it would still need a separate "change color for shared" action to cheaply and directly affect the entire set of instances when you wanted it to

    actually a really powerful system wouldn't stick active object instances to a single image bank but would allow them to switch between them, and give you operations like copying a bank, so you could do runtime-generated recolors relatively easily (might not be very fast but you wouldn't need to do it very often)

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    "Eight seconds left in overtime, she's on your mind, she's on your mind... everyone knows this is over my head, over my head..."

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    It would be a great benefit, because for example, in a multiplayer RTS you could have 4 players using the same units, but each player is a different color. Without selective color replace, you'd have to clone each unit active 4 times, or create 4 different groups of animations within the units with different colors.

  7. #7
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    Quote Originally Posted by Ryan
    It would be a great benefit, because for example, in a multiplayer RTS you could have 4 players using the same units, but each player is a different color. Without selective color replace, you'd have to clone each unit active 4 times, or create 4 different groups of animations within the units with different colors.
    you might be able to get away with shaders/rgb coefficients in hwa since those are instance-based

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    Quote Originally Posted by xyzzy
    Quote Originally Posted by Ryan
    It would be a great benefit, because for example, in a multiplayer RTS you could have 4 players using the same units, but each player is a different color. Without selective color replace, you'd have to clone each unit active 4 times, or create 4 different groups of animations within the units with different colors.
    you might be able to get away with shaders/rgb coefficients in hwa since those are instance-based
    Aren't the shaders exclusive to the HWA version though? I don't think they have been made for standard versions, let alone being possible without HWA. X_X

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Selective Color Replace?

    That's why he said "in hwa"

Similar Threads

  1. [BUG 256.34] Replace color doesn't always work in standard 256 color mode
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th October 2014, 10:21 AM
  2. 'Replace Color' bug
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 25th October 2012, 12:07 AM
  3. Replace Color
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th September 2010, 09:02 PM
  4. Color bug in 'replace color' option
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 7th June 2009, 03:18 AM
  5. Replace Color?
    By TheUpperHand in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 24th March 2008, 10:02 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
  •