User Tag List

Results 1 to 3 of 3

Thread: make a rainbow effect

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question make a rainbow effect

    Hi,

    i would make a rainbow with a single sprite. So i use the set RGB coeficient with the formula : B+G*255+R*255*255. But the result is false : if G=1, i have a red (255,0,0). if R=1, i have a green... If B=255, i have a red...

    Can you help me to have a good rainbow cycling ?

    thanks

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    You've probably inverted red and blue,
    in Fusion it should be:

    R + G * 256 + B * 256 * 256

    Or use GetRGB(red,green,blue) so you can maybe have a cleaner control

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    951
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your reply !!! Get RGB is the solution !!!

Similar Threads

  1. how to make the effect of perspective ?
    By CG_action in forum Fusion 2.5
    Replies: 13
    Last Post: 10th May 2015, 08:22 PM
  2. How to make a compass effect
    By pa2aa in forum Fusion 2.5
    Replies: 2
    Last Post: 25th February 2015, 07:27 PM
  3. How to make a lens effect?
    By darkmanx_429 in forum Fusion 2.5
    Replies: 0
    Last Post: 1st November 2014, 08:01 PM
  4. how do i make a F.E.A.R-effect in explosions?
    By AndyB in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th April 2010, 05:02 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
  •