User Tag List

Results 1 to 6 of 6

Thread: Replace colour RGB not working?

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export Module
    butterfingers's Avatar
    Join Date
    Apr 2012
    Location
    London
    Posts
    135
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)

    Replace colour RGB not working?

    Hello.

    I have a character customisation screen in my game that allows players to customise the colour of their character's outfits.

    This uses the "Replace Colour RGB(X,X," command.

    It works fine on PC, and the values are definately being stored in the ini, but on simulator and iDevice the Replace Colour commands seem to be ignored.

    I ran a quick test with a black cube and recoloured it red, and still it doesn't work.

    Is this command disabled in iOS? Are the RGB values converted to something else on iOS and therefore it doesn't work?

    Any help would be much appreciated!

    Thanks.

    J

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2011
    Location
    Germany, Berlin
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    as far as I can say color replacement actually is possible with the latest versions of mmf and ios-exporter.
    But I recognized some problems with color-replacement on iOS-Device in combination with scaling an object. It seemes that scaling (I used 0.4 scaling) changes the color, so that the color-replace function does not find the color anymore which it is supposed to replace. Also if you try to replace the transparent color of a png-graphic (loaded to an active object frame) by getting the rgb values at some transparent coordinates, it does not work properly on ios,only on pc. And a third thing I recognized according color replacement is that if you replace some color it stays replaced, even if you destroy the object and create a new one.On pc the color even stays replaced if you restart the frame, only if you restart the application, you get back the original colors of the active object. But beside of these special cases the color replacement works fine for me on pc and ios.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    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)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jimmyorpheus - That's good to know. I assume the scaling issue is with Resample on. Have you tried it with Fast instead? This shouldn't change the colours, but they'll look blocky if scaled up too far. With Resample it smooths the results so I would expect different colours.

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module
    butterfingers's Avatar
    Join Date
    Apr 2012
    Location
    London
    Posts
    135
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    @JimmyOrpheus

    Thanks man
    1) I'm not resizing the graphics at all. I do understand about the antialiasing that MMF2 adds to resized objects and know that this would affect the colour replacement.
    2) I'm not altering transparent colours on the active object

    It would really help me out if you could send me an example of the colour replace code that you're using, I'm at a total deadend. As far as I know I have the latest iOS exporter installed!

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Mar 2011
    Location
    Germany, Berlin
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple example of color replacement

    here is a simple example of the Active-Object color-replacement.
    Tested it on PC and iOS without any problems.

    Maybe this helps.
    Attached files Attached files

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export Module
    butterfingers's Avatar
    Join Date
    Apr 2012
    Location
    London
    Posts
    135
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    @JimmyOrpheus, thanks for link, just before you uploaded I got into the iOS lounge and got the latest version (didn't realise that update through MMF didn't do the iOS extension too).

    Anyway, with the latest version it works, but I've found that it randomly seems to miss re-colouring some frames on the first loop through an animation, which is a little annoying. Again, cheers for the help, but I think I'm probably just going to leave it for now!

Similar Threads

  1. replace colour pretty definitely doesnt work on droid
    By Harry))) in forum Android Export Module Version 2.0
    Replies: 9
    Last Post: 3rd September 2015, 03:35 PM
  2. Replace Colour RGB on iOS
    By Diablohead in forum iOS Export Module Version 2.0
    Replies: 7
    Last Post: 5th April 2015, 05:39 PM
  3. Bug Report - RGBat and Replace colour
    By MattEsch in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 20th May 2011, 01:27 PM
  4. Replace colour
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 17th February 2007, 03:49 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
  •