Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
Hi Bernd,
You got me thinking about image blending and my brain ran off on px by px interleaving...
Then I just set the blend level of the top image
I think it works.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
if you want to combine multiple polygon graphics you can just take the points of each of the graphics and set the points of a polygon graphic to those points BUT between the points of the individual graphic leave an empty line.
something like this assuming you have 2 graphics made of points and you create a third graphic
set the points of graphic "thirdGraphic" to the points of graphic "firstGraphic"
put cr after the points of graphic "thirdGraphic"
put the points of graphic "secondGraphic" after the points of graphic "thirdGraphic"
this only works with graphics made up of points. Oval rectangle and round rectangle aren not made up of points and you can not use this technique. Polygon and freehand and line are made of points.
As of LC 6.7 you have the effective points of graphics that are not made from points, so that could be a solution for those.
on mouseUp
set the style of the templateGraphic to polygon
create graphic "g3"
set the points of graphic "g3" to the points of graphic "g1" & cr & cr & the points of graphic "g2"
end mouseUp
at first you will not notice the new graphic since its points are the same as the two separate graphics. Just select the graphic and move it around.