User Tag List

Results 1 to 5 of 5

Thread: Flash + 256 color palette

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash + 256 color palette

    I'm thinking of using a 256 color palette to save some space in my Flash game. However, the game suffers some heavy quality loss if I use the inbuilt 256 color conversion. I know I can change the palette in the application menu, but no single palette makes all the graphics look decent.

    So ideally I'd like to use a 256 color palette, but change to a different 256 colors after runtime, to differentiate between levels. (eg. one level may be a night-time theme on a day level, so by changing the palette, the game will look different, but still be 256 colors)

    Q1. Is it possible to change the palette during run-time? Say I set application to 256 colors, but one level of my game uses a different palette to another level. Is this possible during run-time?

    Q2. If I compressed my in-game graphics to 256 colors, but actually left the application at 32768 colors, would the Flash exporter compress the graphics to take up less space? Or would it be a waste of time?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Flash + 256 color palette

    Using 256 colors in Flash doesn't make any difference. The game will always use 24/32 bit colors.
    You might be able to use a lower color depth to store the sprites with a lower file size. I think somebody mentioned that that would work.

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    Re: Flash + 256 color palette

    Is the setting of the number of colors in applications property meaningless in Flash?

  4. #4
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Flash + 256 color palette

    Yes

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,279
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash + 256 color palette

    Well I did notice a significant file size reduction when I exported with 256 colors, however this is most likely to do with the 'lower color depth' that looki is talking about, rather than Flash actually utilising 256 colors.

Similar Threads

  1. Bug?? Color Palette
    By tom79 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th December 2013, 07:29 PM
  2. compressed color palette?
    By SirEatAlot in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 21st October 2012, 08:39 PM
  3. color palette
    By bnanns in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 3rd March 2011, 03:52 PM
  4. Pls help with color palette
    By Jaeu in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd April 2007, 12:36 PM
  5. Color palette coordination...
    By AllistairF in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th September 2006, 01:43 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
  •