User Tag List

Results 1 to 5 of 5

Thread: Help on the Screen Pixel Extension

  1. #1
    Clicker 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
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help on the Screen Pixel Extension

    Hello!

    I want to use the screen pixel extensions to ask for the current color under the cursor..
    Well, I do not understand what the screen pixel extension gives me at the end.
    It probably measures wrong, cause that extensions gives me 10+ colors on a monochrome background. Strange..

    Could somebody explain me how to get the color of a pixel at X/YMouse-position outside the game window or make an example, please?
    Thank you.

    -2xD

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you do not already know, the 0,0 for the screen pixel is the top left of the monitor, not the top left of the application window.
    As such, Xmouse/Ymouse will usually be inaccurate. So if you are using Xmouse/Ymouse and your mouse is at 100,100; it will detect the color at 100,100 from the top left of your monitor screen, not the top left from the application's 0,0

  3. #3
    Clicker 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
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And how to make it absolutely accurate?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You would need to ahve the window control extension and use some of the expression in there.

  5. #5
    Clicker 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
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can u give me an example code how to ask for the pixel in the expression editor. I do not really get it..

Similar Threads

  1. Screen pixel object
    By James in forum Released Extensions
    Replies: 13
    Last Post: 1st August 2020, 11:59 PM
  2. How would you move an object in straight line pixel by pixel from location to another
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd December 2012, 10:38 PM
  3. Beta 11: Moving buttons Pixel by Pixel
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th January 2011, 08:54 AM
  4. Sub-Pixel Positioning Pixel Shader
    By LazyCoder in forum Hardware Accelerated Runtime
    Replies: 15
    Last Post: 16th March 2008, 11:24 AM
  5. is there a way to detect pixel color on the screen
    By Rushino in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 21st September 2007, 01:18 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
  •