Hi Scratchers,
I have been a member and a user for 2 years, I have learned all the basics. And yet, there is one thing I have never been able to do in my games:
When the mouse pointer hovers over an object, i would like it to grow bigger.
<when green flag clicked>
<forever if><touching[ Sprite 26
<repeat( 50 )
<change size by( 2 )
<wait( 0.001 )secsc>
<end>
Please help me and tell me what is wrong with it THX!
MTSA
Offline
Here's a way to do it:
When flag clicked
set size to (80)
forever
if touching mouse pointer
change size by ((100-size)/10)
else
change size by ((80-size0/10)
End
Should work smoothly.
Offline