• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
1. butterfly effects
 

1. butterfly effects

on

  • 151 views

 

Statistics

Views

Total Views
151
Views on SlideShare
151
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    1. butterfly effects 1. butterfly effects Document Transcript

    • 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.
    • 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.
    • 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’
    • 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.