The Daily Click ::. Forums ::. Klik Coding Help ::. Getting the colour value of a pixel
 

Post Reply  Post Oekaki 
 

Posted By Message

nim



Registered
  17/05/2002
Points
  7233
25th November, 2008 at 14:55:24 -

Is the Screen Pixel object broken or am I being a newb? Has anyone managed to get this object working correctly? I've been trying to get the value of a single pixel on the screen, but the Screen Pixel object just seems to give me values of 256, 64000 and 16,000,000 (ish). What I'm looking for is an RGB value, if anyone knows a better solution. Thanks

 
//

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th November, 2008 at 23:37:31 -

You have to convert it into an RGB I think, using the RGB function under MMF's special expressions.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

nim



Registered
  17/05/2002
Points
  7233
4th February, 2009 at 15:11:58 -

The Pixel Object by LIJI did the trick.

 
//
   

Post Reply



 



Advertisement

Worth A Click