Asuma Posted April 4, 2009 Report Share Posted April 4, 2009 EDIT: Nevermind. I have a new problem. I'm doing a palette swap for my MMGame. It take too much memory. At first it worked fine, but then suddenly the FPS drops by 30 FPS. I have no idea why. However it seems the more animation I add to Megaman, the low the FPS gets. I wish Constrcut had the ability to change colors like MMF.... Any here's the file. http://www.mediafire.com/download.php?egznuwlxlzm By the way, don't suggest GM. I will not use it. Link to comment Share on other sites More sharing options...
Felik Posted April 5, 2009 Report Share Posted April 5, 2009 Solution is very simple. NEVER EVER use always conditions for color swap. It's really resource-consuming for MMF to do it all the time. Do it only once, when it's necessary. For example "megaman changes his weapon - change color of his suit". But not "always change color of his suit to match his weapon". Link to comment Share on other sites More sharing options...
Asuma Posted April 5, 2009 Author Report Share Posted April 5, 2009 If I do it once every loop. It fucks up the colors. Beside, when I need to do his charging colors, it will need to be always. It works fine on 8-bit sprites. Link to comment Share on other sites More sharing options...
Felik Posted April 5, 2009 Report Share Posted April 5, 2009 I can't quite understand why do you need to change his color all the time. Megaman is not hyper sonic. You still don't need that for charging. You can change his color every 0.5-1 second but not all the time. Link to comment Share on other sites More sharing options...
Asuma Posted April 5, 2009 Author Report Share Posted April 5, 2009 You've played a Megaman game right? Link to comment Share on other sites More sharing options...
Felik Posted April 5, 2009 Report Share Posted April 5, 2009 Yes of caurse I did, I'm stealing graphics from there I see what you want. You want those rapid shining or what not effect when megaman is charging his buster. In this case you have to have 2 active objects. One with darker pallet and one with lighter (in your case it's 4 objects including 2 "shooting mode" ones) and just change their visibility/invisibility. Link to comment Share on other sites More sharing options...
Asuma Posted April 5, 2009 Author Report Share Posted April 5, 2009 I'll just use 8 bit sprites. I really don't want to have to deal with 4 sprites. There isn't and FPS drops on the 8bit sprites. Just 16bit and 32bit. Link to comment Share on other sites More sharing options...
Felik Posted April 6, 2009 Report Share Posted April 6, 2009 I'm glad that my explanation helped you to decide what to do. Link to comment Share on other sites More sharing options...
Asuma Posted April 6, 2009 Author Report Share Posted April 6, 2009 I'm grateful for you advice. Link to comment Share on other sites More sharing options...
Recommended Posts