User Tag List

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

Thread: multi object recolor

  1. #1
    No Products Registered

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

    multi object recolor

    please somebody help.
    I'm trying to recolor multiple copies of the same item but i want them as different colors. However no matter what i try they all get recolored the same.
    i have 3 sets of 6 items all colored white with number 255,255,255
    during start of level i want to change each set to blue, red and yellow. But as soon as i select one color replacement they all become that color.

    Is there any way to stop it and to all single items to be changed iwthout changing the others?

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: multi object recolor

    Maybe out each group in a qualifier and only change that qualifier group color?

    Marvin
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multi object recolor

    I suppose you use multiple instances of the same active object, and they share the same images in the "image bank"...
    So if you change this image all instances of this object will change...

  4. #4
    No Products Registered

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

    Re: multi object recolor

    this is a limitation in how the objects' images are stored in memory; basically, all duplicates of an object share the same set of images, because if they didn't, memory usage could go through the roof... unfortunately Replace Color literally replaces a color in the image bank (and not on the object's display surface), so if you try to change the color of one object, it'll change all of them

    EDIT: beaten oops

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: multi object recolor

    Quote Originally Posted by xyzzy
    EDIT: beaten oops
    That's a good thing Better with to many answers than the other way around

  6. #6
    No Products Registered

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

    Re: multi object recolor

    to nivram: How do you do groups in MMF2? I can't seem to find that.
    to danielrehn and xyzzy: Thank you for your explanations, but i actually kind of worked that out which is why i was wondering if there was any other way to do recolors.
    now theres some problems. first i said theres about 18 of these active objects; however more will be created in level when asked. second the different color sets red blue yellow can be mixed with the others, and they to them so two objects will be "mixing" multiple times, WITHOUT(if anybody can think of work around.) the rest changing color.

  7. #7
    No Products Registered

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

    Re: multi object recolor

    it'd be possible to do something like this with a shader (in HWA mode), however. unfortunately it wouldn't be as easy or flexible, because if you wanted to replace X amount of colors, you'd need 2X parameters programmed into the shader itself (one for old color, one for new color... for each color); if you wanted to replace gradients, you could get away with fewer parameters

    iirc, this was a feature that another extension (sprex) would support (could be wrong), but i haven't heard anything of sprex in months (which sucks, because i can't emphasize how much i need it)

  8. #8
    No Products Registered

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

    Re: multi object recolor

    hum, thank you. its always worth thinking about. it might be the only way. but we'll see.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: multi object recolor

    If you split your object into 3 with each one only containing the red, green or blue channel you can change the shade by modifying the transparency of each object. A bit of hard work, tho.
    .:::.Joshtek.:::.

  10. #10
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: multi object recolor

    seann33uk, disregard what I wrote. I thought you were using individual actives.
    Nivram
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Multi-Object Wiggle Tail ?
    By FlipSwitchX in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th June 2013, 01:48 AM
  2. [BUG] Multi-Object Events
    By idnewton in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 17th June 2013, 08:48 PM
  3. Multi- Language System | Sistema de Multi Linguagem
    By Guilherme in forum File Archive
    Replies: 0
    Last Post: 10th January 2013, 11:45 PM
  4. Help With Multi Object Saving (Ini)
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th July 2008, 02:50 AM
  5. multi chain object
    By Taco in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th December 2007, 01:28 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
  •