Shrink & Grow an image


#1

I was playing with my Rotating Tutorial:

And wanted to grow and shrink the image that was rotating. So i changed a few things.

I added a 2 buttons and 2 clock components. The Clock2.timer block makes the image 10 pixels bigger every 1/10th of a second. The clock1.timer block makes the image 10 pixels smaller every 1/10th of a second.

Then i added the following blocks.

So the total project looks like this now.

Pressing the grow or shrink button makes the image get bigger or smaller. If you don’t touch the buttons the image will grow and shrink on its own.

Here is the project file.

shrinkgrow.aia (559.9 KB)


#2

Awesome tutorial @Peter_Mathijssen


#3

Nice :smiley::heart_eyes::star_struck::hugs: