User Tag List

Results 1 to 4 of 4

Thread: Get color value from backdrop?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get color value from backdrop?

    Hi,

    I have a top-down game project where I'm trying to change max speed of an object according to what surface the object is travelling on.
    I would like to achieve this by reading a backdrop pixel colour below the object. Is this possible somehow?

    I'm all ears for better solutions to achieve the same result. Help would be greatly appreciated.

    Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator
    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)

    Join Date
    Aug 2006
    Posts
    1,054
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, there are no option for that, you must add invisible active object for test what surface type is it

  3. #3
    Clicker Fusion 2.5Fusion 2.5 Mac
    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)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    712
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Why cant you just check what kind of background object it's overlapping and change that?

    I think you do a test against the RGB value (getrgb()) but it feels needlessly complicated.

  4. #4
    Clicker Multimedia Fusion 2

    Join Date
    Dec 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your replies!

    To minimize speed and world building issues I am trying to avoid using separate objects for terrain types because I have a huge world map with complex shapes.
    That is why I had this theory that I could turn the situation around and make the actual moving object to work as terrain sniffer. This logic would allow me to save ton of work and CPU resources in the long run.
    The whole project is designed graphically to support this kind of method. Roads are 1 color, forests are combination of only 3 colors and so on.

Similar Threads

  1. Replies: 3
    Last Post: 20th October 2016, 04:39 AM
  2. "Replace Color" action causes backdrop objects to change appearance
    By Strife in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th December 2013, 05:26 PM
  3. MMF2 - Frame Color Gradient or Quck Backdrop
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th October 2007, 04:30 PM
  4. BUG? Quick Backdrop Border/Transparent Color
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th February 2007, 05:33 AM
  5. BUG? Quick Backdrop Border/Transparent Color
    By aidmm in forum File Archive
    Replies: 0
    Last Post: 9th February 2007, 05:32 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
  •