User Tag List

Results 1 to 3 of 3

Thread: Which system for new character suits is more efficient?

  1. #1
    Clicker Fusion 2.5
    TheHandwovenBox's Avatar
    Join Date
    Mar 2018
    Location
    Kentucky, USA
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Which system for new character suits is more efficient?

    Hello, I was wondering which system would be more efficient for Metroid style character upgrades, were the only notable change are the colors. Would it be more efficient to have each suit be it's own identical active (save for the colors) that all follow the same code, but are visible/invisible depending on whether or not the upgrade is collected, or would it be more efficient to use the color change event?

  2. #2
    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)
    I haven't messed with both options enough to be sure, but I think color replacing would technically lead to better performance? Then again, I don't know how that really works under the hood, so I could be mistaken. That being said, the performance different would likely be negligible on most modern computers, so unless your game can otherwise run on a low-end computer to begin with, or you're planning to port this to Android/iOS where that also might matter a bit more, I wouldn't worry too much. (Besides, while I could be remembering wrong, from what I recall color replace doesn't even work right on non-Windows platforms, so that might be worth keeping in mind too.)

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export Module
    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)
    gkinfinity's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    282
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yeah, if you're making this for mobile devices you'll have to make multiple actives that are different colors. You can't use shaders or the replace color option. Multiple actives is also kind of nice because you can edit what each sprite looks like if you decide you want to go that route. Regardless of whether or not the sprites look different or if they're just palette swaps, when I use this option I typically have the player controlled character be an invisible object, then I just create the appropriate colored version and set its position to match the invisible object. By doing it that way you won't have a bunch of unnecessary invisible objects on screen.

    If you're making this for PC and can use shaders, there's a color replacer shader that Looki made which can swap up to 9 colors in an image (and you could modify it to do more). Not sure how great performance would be with that though. It depends how many colors are in your image really. You could also use a shader to adjust the hue of the entire sprite, but you don't have any control over specific colors in that case.

Similar Threads

  1. Replies: 0
    Last Post: 17th July 2017, 04:31 AM
  2. Most efficient way to do this...
    By natrey in forum Fusion 2.5
    Replies: 1
    Last Post: 17th June 2016, 06:09 PM
  3. Which way is most efficient? (regarding Frames)
    By pdsoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 11th October 2013, 10:05 PM
  4. Efficient String Concatenation?
    By Pixelthief in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st August 2008, 05:57 PM
  5. Character-Based Level System
    By LB in forum File Archive
    Replies: 1
    Last Post: 4th May 2008, 12:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •