Jump to content


Photo

Testing Colors Code


  • Please log in to reply
1 reply to this topic

#1 ArcturusGaming

ArcturusGaming

    GMC Member

  • GMC Member
  • 27 posts

Posted 03 March 2012 - 02:39 AM

I'm basically making a lock picking system similar to the hacking system in BioShock 2 where you match up your cursor with the colors. So I wanted to know if there was a script that could test the color at an (x,y) coordinate.
  • 0

#2 wnsrn3436

wnsrn3436

    GMC Member

  • GMC Member
  • 162 posts
  • Version:GM:Studio

Posted 03 March 2012 - 02:48 AM

In GML, draw_getpixel have a function.
However, it is very slow.
You will need to use the dll or gex. ;)

Ps. draw_getpixel dll : http://gmc.yoyogames...1

Edited by wnsrn3436, 03 March 2012 - 02:54 AM.

  • 1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users