playMaker

Author Topic: Get Pixel's color depth [SOLVE]  (Read 3504 times)

PikabobAlex

  • Playmaker Newbie
  • *
  • Posts: 22
Get Pixel's color depth [SOLVE]
« on: December 31, 2012, 01:04:51 PM »
Can I have a Action like:
I generate a 64x64 noise (black and white) picture in Photoshop
I import the picture to Unity
And I tell the PM get the color depth of each pixel.
After that, store the value into a variable, and set the object's height(Y)

TQ
« Last Edit: January 01, 2013, 10:15:50 AM by PikabobAlex »

kiriri

  • Hero Member
  • *****
  • Posts: 506
Re: Get Pixel's color depth
« Reply #1 on: December 31, 2012, 02:03:09 PM »
this http://hutonggames.com/playmakerforum/index.php?topic=2778.0
plus get color RGB

should do it, shouldn't it?
Best,
Sven

PikabobAlex

  • Playmaker Newbie
  • *
  • Posts: 22
Re: Get Pixel's color depth
« Reply #2 on: January 01, 2013, 10:01:21 AM »
Oh, thanks dude...
Just place them in (PlayMaker\Action)?
« Last Edit: January 01, 2013, 10:15:05 AM by PikabobAlex »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get Pixel's color depth [SOLVE]
« Reply #3 on: January 02, 2013, 05:46:25 AM »
Hi,

 Place them where you want in the asset folder, but I suggest you create a new folder "PlayMaker Custom Actions" then you know that you simply need to select that folder if you create a package for backup or else.

bye,

 Jean