User Tag List

Results 1 to 6 of 6

Thread: changing colors

  1. #1
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    changing colors

    I apologize if this is such a newbie amature question.

    I have two questions:

    One:

    I want to be able to change colors of an object during game play. In hard coding I would change the pixels during game play by changing the color palette index.

    For an example say I had a ball that was one solid color - red. How could I change it to blue during game play without using second blue colored sprite. I want to be able to change the color of the object to multiple different colors during game play.

    two:

    A second question would be if a sprite that was not one solid color, say a ball that is red but has the appearance of being round due to shading, could that over all sprite be shade to other various colors during game. Again without using a different sprite.


    Thanks


  2. #2
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: changing colors

    A very basic example:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=79049&Main=7904 9#Post79049

  3. #3
    Clicker Fusion 2.5
    ayejes's Avatar
    Join Date
    Feb 2008
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: changing colors

    Thank you very much.

    How about the second question. If the ball was shaded to give it a 3-d look, how could that color be changed during game play in order to retain the 3-d look.

    Thanks

  4. #4
    No Products Registered

    Join Date
    Feb 2007
    Location
    Sydney, Australia
    Posts
    1,654
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: changing colors

    you will have to replace the colour for every pixel.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: changing colors

    In HWA you can use the color coefficient to change color of an object...

  6. #6
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: changing colors

    Quote Originally Posted by Werbad
    In HWA you can use the color coefficient to change color of an object...
    actually it'd be better to use a shader since i think the RGB coefficient is basically a 'multiply' effect

Similar Threads

  1. Changing colors of list object?
    By StingRay in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 10th May 2013, 04:50 PM
  2. Changing colors of an 'Animated' type Counter?
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 30th May 2012, 01:06 PM
  3. Changing Objects Colors
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th September 2007, 10:30 PM
  4. Changing single word colors
    By Gerblegod7 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th March 2007, 12:26 AM
  5. IRC Colors.
    By Conno in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 11th August 2006, 01:29 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
  •