How Do I Get Color Number In A Specific Loc Image?

0 favourites
  • 5 posts
From the Asset Store
Elevate your games with our AI Chatbot Integration! Seamlessly connect your Construct 3 projects with GPT-4 for dynamic,
  • Dear Friends,

    How Do I Get the Color number (R,G,B) for example (255,0,0) in a specific location of Image or sprite in the

    screen??

    In other words i need to retrieve the color in a specific location of an image or sprite in the screen and do something...for example play a sound...

    Is there a construct function or instruction??or a plugin??? I don't see everywhere...

    Can you help me with a capx?? if you can ??? i will thank you so much...

    Best regards,

    Lestroso

    http://www.fasasoftware.com

  • how did the pixel become the color to make the sound ?

  • The closest thing to that would be to use the third party Canvas plugin. It has a rgbaAt expression but it only works to get the color on the canvas object's texture. It also has actions to draw other objects onto this texture which is useful.

    The overall method would be to draw everything on screen to a screen sized canvas object, and after that get the color with rgbaAt.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • i thank you to everybody....but the test of a pixel in a specic location.. is my need and the play sound it was only an example....

    ok you ..also tell me a third pard canvas plugin..do you have a link please??? if you can.... i thank you so much...

    bestregards,

    Lestroso

    http://www.fasasoftware.com

  • Dear R0J0hound,

    i saw your plug-in.....but i don't see inside any function rgbat...also there's no a little manual to explain your plug-in...could you so kind to create a little capx example that recall that function..rgbat???

    I will thank you so much....thousands thanks!!!

    Best regards,

    lestroso

    http://www.fasasoftware.com

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)