Discuss Scratch
- Discussion Forums
- » New Scratchers
- » how to make smooth animations for your clicker game
- dalencarr
-
Scratcher
5 posts
how to make smooth animations for your clicker game
I will teach you smooth turning movement and if touching mouse change size, all smooth for every clicker game
when green flag clicked
forever
if <touching [mouse pointer v] ?> then
repeat (5)
turn cw (1) degrees
end
point in direction ( 90)
wait (0.09) secs
repeat (5)
turn ccw (1) degrees
end
else
point in direction ( 90)
end
when green flag clicked
forever
if <touching [mouse pointer v] ?> then
change size by (((100) - (size)) / (10))
else
change size by (((80) - (size)) / (10))
- Discussion Forums
- » New Scratchers
-
» how to make smooth animations for your clicker game