User Tag List

Results 1 to 4 of 4

Thread: Am I doing something wrong here - Replace RGB bug.

  1. #1
    Clicker Fusion 2.5
    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)
    ACESpark's Avatar
    Join Date
    Oct 2006
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Am I doing something wrong here - Replace RGB bug.

    Still...

    Due to a sheer amount of colour swapping my game requires, i've used this method to "store" the different colours.

    There is one object that stores all the colours of the player object:


    And one that stores the current pallete:


    The event to change colours is this:

    Code:
    When Value A of Storage is different to B:
    Start fastloop "colour"
    Code:
    On loop colour
    Replace RPG at Storage(loopindex,valuea) with List(loopindex,valuea)
    It does this for the two player objects and the storage object.

    Unfortunately, the momement it does this - theres a pause. It's siginificant. Too significant.

    Due to previous posts, I was under the impression that the hardware drain was fixed. Either my coding is wrong or it hasn't been fixed. Which one is it?

    MFA File:
    http://www.cosmic-hero.com/Problem.mfa

    Suggestions I know will come up:
    a) Reducing the screensize makes no difference.
    b) Oh, and I'm on a high end computer.

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Am I doing something wrong here - Replace RGB bug.

    If you replace several colors in a fast loop, then it will be slow because for each color change MMF2 creates a copy of all the images of the object and replaces the color in all these images.

    To optimize it we would need to add an action to allow you to change several colors at the same time.

  3. #3
    Clicker Fusion 2.5
    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)
    ACESpark's Avatar
    Join Date
    Oct 2006
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Am I doing something wrong here - Replace RGB bug.

    Future version perhapes? I can't be the only person in need of such a feature.

    In the meantime, any workarounds?
    Colour changing is kinda cruical to this game :/

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    220
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Am I doing something wrong here - Replace RGB

    You could mess around with the Colorize object from LIJI's bonus pack - haven't really used it myself but my guess would be that it colorizes things.

Similar Threads

  1. Something is very wrong with Sin() and Cos()
    By LB in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 15th July 2010, 08:34 PM
  2. I don't know what is wrong
    By Tharky in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 11th July 2010, 10:34 PM
  3. what i do wrong here
    By ezra in forum File Archive
    Replies: 2
    Last Post: 26th June 2009, 03:43 PM
  4. What am I doing wrong?
    By Dines in forum Vitalize
    Replies: 4
    Last Post: 10th August 2008, 07:12 PM
  5. can someone tell me where i am going wrong please
    By arma in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 22nd May 2007, 08:18 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
  •