The second script of the first script begins with a butterfly when the user click the Green kathong. Butterflies don't know the user will tell you where to plant flowers, when so required in the blog at any time (forever). The butterfly waits until (wait until) the pointer from a user's mouse (mouse down?) when the mouse is clicked, the mouse position is stored. In the internal variable that is the mouse Scratch x and y position of the mouse moth x and y mouse-200, which is located below the arena fence before they appear (show) and Chimes1 by the audio blog (play sound) before they will start to draw the flowers to add a variety of garden. Butterfly pen color settings (to set pen color), random color values from 20 to 80 (random pick from 20 to 80) and change the shade (shade by pen change) by a random value ranging from-20 to 20 per set, the size of a pen (a pen size to set) by random values from 2 through 6, and then with a pen (pen down). If the butterflies move elsewhere to draw. Therefore, when it moves to the position of the mouse. Within 1 second (1 secs to glide mouse mouse x: y: x y), it will draw the stem of a flower when it lifted the pen (pen up) it will stop drawing the butterflies will select a stored variable flower flowers (set to flower) from the existing 5 types of flowers (pick random 1 to 5), and then send the message draw-flower to pick the flowers, which have drawn their flowers before it left (hide), it is also invited to come watch the fairy wooden chest that will be created. Designed for luck, random numbers from 1 to 100, come one come stored in a variable, and if the lucky lucky. The fairies will come.
การแปล กรุณารอสักครู่..
