shaped buttons v2
in
Programming Questions
•
7 months ago
I found a beautifull exemple of efficient and simple technique for shaped buttons.
( http://www.openprocessing.org/sketch/7554)
My question is, how can i move the both shape (visible and invisible)? When i try to move shapes, the get(x,y) method to get pixel color is done from 0,0 (where the invisible image is loaded with loadImage() ).
For moment i'm forced to work on fullscreen image with all button and color associated. And i would prefer small and different image for each button interface.
ps: sorry for my language, i'm french :)
( http://www.openprocessing.org/sketch/7554)
My question is, how can i move the both shape (visible and invisible)? When i try to move shapes, the get(x,y) method to get pixel color is done from 0,0 (where the invisible image is loaded with loadImage() ).
For moment i'm forced to work on fullscreen image with all button and color associated. And i would prefer small and different image for each button interface.
ps: sorry for my language, i'm french :)
1