User Tag List

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

Thread: Revert to Original Colors

  1. #1
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Revert to Original Colors

    Is there any way to easily revert an active object's colors back to the original colors it had before replace color was used?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,142
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I've always been wanting this feature... I don't think the feature is there, so you might want to store the original colours in a value somewhere...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Maybe for now you can just have the object in it's original color and the object in the other color and when it calls for the change,.just create it. Delete/create and run the same events on both.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,306
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Yea, I remember doing something similar in my Mega Man color swap experiments. Just store the original colors somewhere in another active object, so that the objects will revert to their default frames when it restarts.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You could also give it an effect when the change happens,.like a fade in fade out effect. That would be nice. There's usually a way around anything your thinking of doing in a game no matter what it is with MMF within reason.

  6. #6
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have an idea, sorry if im teaching you to suck eggs.

    when you try to change it for the second time did you try getting the rgb of the new colour, i mean like maybe mmf is confusing the new colour with the old colour? maybe it would be worthwhile adding a step in to always read the rgb of those coords and then maybe you can identify what its doing or not as the case may be.

    [edit] i did have an object that was changing colours always and when it hit the edges of the frame, but i didn't try it after the sprite was deleted. i know also that the default black colour is rgb 8,0,0 and that took me a while to figure out.

  7. #7
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah ok, my bad i guess other than using a shader another option would be to swap out the sprite with another sprite with how you want it, which i guess is not the most efficient method

    Shaders are the future?

  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export Module
    Chaos's Avatar
    Join Date
    Aug 2006
    Location
    Burnsville, MN, USA
    Posts
    806
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Just a random add incase anyone is listening... I'd also like a feature to be able to restore an active to its original colors.

  9. #9
    Clicker Fusion 2.5Mac Export Module
    Zem's Avatar
    Join Date
    May 2012
    Location
    UK
    Posts
    184
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please forgive my ignorance, do the shaders work cross platform?

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Shaders are Windows only, and would require re-designing for other runtimes due to the fact that there are multiple shader languages. However, a few of the built-in shaders are supported in a few other runtimes (mainly the semi-transparency shader, which is, as far as I know, compatible with pretty much every runtime). Said shaders that are compatible with other runtimes are probably programmed in some way that doesn't use shaders for non-Windows runtimes, though, since those shaders weren't originally shaders, they were ink effects.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. restoring original colors of an active?
    By brawltaunts22 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 5th February 2011, 03:20 AM
  2. Artwork Rotated in Editor Revert to import size?
    By 00J in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 17th October 2009, 08:16 PM
  3. Build revert
    By James in forum Lacewing
    Replies: 40
    Last Post: 11th October 2009, 08:38 PM
  4. Revert colours after RGB colour change?
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th May 2009, 06:16 AM
  5. Feature request: Revert to original size
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 14th July 2006, 04:33 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
  •