1. butterfly effects

270 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
270
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

1. butterfly effects

  1. 1. Butterfly EffectsThis project makes a butterflychange colour every time you pressthe spacebar.RIGHT mouse click on the cat andclick deleteClick ‘Choose new sprite from file’Double click the ‘Animals’ folderClick on ‘butterfly3’Click ok.The butterfly sprite will now appearon the stage.Click the ‘Control’ option.
  2. 2. Drag the ‘When [space] key pressedblock from the LEFT into the‘Scripts’ area.Click on the ‘Looks’ option.Drag the ‘change [color] effect by[25] option so that it snaps intoplace.Press the spacebar – see what happens!Butterfly Effects 2This project changes the ‘effect’depending on where the mousemoves.This assumes you have completedthe above.RIGHT mouse click on the blocksand click ‘delete’Click the ‘control’ optionDrag the below blocks into the‘scripts’ area as shown.Click the ‘looks’ buttonAdd the block as shown.
  3. 3. Change the dropdown option to‘whirl’.Click on ‘Sensing’Drag the ‘mouse x’ into the placewhere the ‘0’ was.Click the green flag to start yourscript.Note how when you move yourmouse left and right (change the xposition) that the effect changes.More effects…The below will make the butterflychange colour as the mouse movesup and down (y axis)Click the red circle to stop thescript.Click on ‘looks’Add ‘change colour’ effectClick on ‘Sensing’
  4. 4. This time, drag in ‘mouse y’ asshown.Click the green flag to start yourscript.Experiment by changing the effectsMaking it more interactive…Click the red circle to stop thescript.Add the second set of blocks asshown.When there are TWO lots of codethat seamlessly run at once, theyare called threads.SAVE YOUR WORKPress ALT+Print SCREEN to capture the work you’ve done today.PASTE it into your project diary.

×