1
Windows / Mac / Flash / HTML5 / Re: Pen Collision
« on: June 24, 2011, 10:43:22 am »
Wow, ANYTHING on screen huh? Pretty powerful, AND the exact thing I need for what I'm working on, now I don't have to worry about separating lights in layers or something like that.
Also I think I understand your explanation about where it detects the color. Though the code,
Though I guess I could put it dead-center, maybe with the excuse of "guards won't chase you unless the spotlight confirms it's you, they won't go crazy after seeing a silhouette of a hand"
Thanks again
Also I think I understand your explanation about where it detects the color. Though the code,
Code: [Select]
_PixelColor = FlxG.buffer.getPixel32(actor.getX(), actor.getY());
How do I add another pixel getter? Since you said if I'd need 2 sensors instead of just one.Though I guess I could put it dead-center, maybe with the excuse of "guards won't chase you unless the spotlight confirms it's you, they won't go crazy after seeing a silhouette of a hand"
Thanks again