Mike+♥

Ch. 6 flow chart>

=zzzzzzzzzzzzzz's Code= =Created by: Mike??=

Events

 * **When the world starts** ||
 * **Do:** ||  || **world.my first method** ||   ||


 * **When** **is clicked on** **3D Text** ||
 * **Do:** ||  || **pilgrimGirl.Girls move** ||   ||

Methods

 * **world.my first method**
 * number** **=** **1** ||
 * |||||||| **moneyBag2** **set** **vehicle** **to** **man.leftArm.lowerArm.hand** |||||||| **moneyBag** **set** **vehicle** **to** **man.rightArm.forearm.hand** |||||||| **Do together** ||  |||||| **pilgrimGirl** **move** **forward** **1** meter |||||| **pilgrimGirl3** **move** **forward** **1** meter |||||||| **pilgrimGirl3** **say** **Trick or Treat!** fontName = **Trick or Treat!** |||||||| **Wait** **2** seconds |||||||| **pilgrimGirl** **say** **Hello?** |||||||| **doorway.door** **turn** **left** **0.25** revolutions |||||||| **man** **move** **forward** **3.5** meters |||||||| **Do together** ||   |||||| **man.rightArm.forearm** **turn** **backward** **0.25** revolutions |||||| **man.leftArm.lowerArm** **turn** **backward** **0.25** revolutions |||||||| **Do together** ||   |||||| **pilgrimGirl.upperBody.leftArm.leftForeArm** **turn** **backward** **0.25** revolutions |||||| **pilgrimGirl3.upperBody.rightArm.rightForeArm** **turn** **backward** **0.25** revolutions |||||||| **Do in order** ||   |||||| **Do together** ||   |||| **moneyBag** **move to** **pilgrimGirl.upperBody.leftArm.leftForeArm.leftHand** |||| **moneyBag2** **move to** **pilgrimGirl3.upperBody.rightArm.rightForeArm.rightHand** |||| **Do together** ||   || **moneyBag** **roll** **right** **0.25** revolutions || **moneyBag2** **turn** **forward** **0.25** revolutions |||||||| **Do together** ||   |||||| **moneyBag** **set** **vehicle** **to** **pilgrimGirl.upperBody.leftArm.leftForeArm.leftHand** |||||| **moneyBag2** **set** **vehicle** **to** **pilgrimGirl3.upperBody.rightArm.rightForeArm.rightHand** |||||||| **Do together** ||   |||||| **pilgrimGirl.upperBody.leftArm.leftForeArm** **turn** **forward** **0.25** revolutions |||||| **pilgrimGirl3.upperBody.rightArm.rightForeArm** **turn** **forward** **0.25** revolutions |||||||| **pilgrimGirl** **say** **Thank you!** |||||||| **3D Text** **set** **opacity** **to** **1 (100%)** ||

Methods

 * **pilgrimGirl.Girls move** //No variables// ||
 * |||| **Do together** ||
 * ^  ||   || **pilgrimGirl** **turn** **right** **0.25** revolutions || **pilgrimGirl3** **turn** **right** **0.25** revolutions |||| **Do together** ||   || **pilgrimGirl3** **move** **forward** **50** meters || **pilgrimGirl** **move** **forward** **50** meters ||

Flow Chart --->

Program file--->

=CodingIndianshootingx2's Code= =Created by: Mike "FrostedFlakes" Bauwens=

Events

 * **When the world starts** ||
 * **Do:** ||  || **world.my first method** ||   ||

Methods

 * **world.my first method** //No variables// ||
 * |||| **Do together** ||
 * ^  ||   || **revolver2** **set** **vehicle** **to** **cowboy.upperBody.jacket.rightArm.forearm.hand** || **bowandarrow.bow** **set** **vehicle** **to** **nativeAmericanMan.torso.leftUpperArm.leftForeArm.leftHand** || **bowandarrow.case** **set** **vehicle** **to** **nativeAmericanMan** || **world.playScene 3** ||


 * **world.playScene 3** //No variables// ||
 * |||| **Do in order** ||
 * ^  ||   || **nativeAmericanMan** **say** **Hello cowboy.** duration = **1** second fontSize = **20** || **Wait** **3.5** seconds || **nativeAmericanMan** **say** **Do you speak English?** duration = **2** seconds fontSize = **20** || **cowboy.shakeHead** yesOrNo = **yes** || **nativeAmericanMan** **say** **Will you not speak to an Indian?** duration = **2** seconds fontSize = **20** || **cowboy.shakeHead** yesOrNo = **no** || **nativeAmericanMan** **say** **Are you only going to move your head?** duration = **2** seconds fontSize = **20** || **cowboy.shakeHead** yesOrNo = **yes** || **nativeAmericanMan** **say** **Do you attack Indians?** duration = **2** seconds fontSize = **20** || **cowboy.ShootIndian** ( **ask user for a string** question = **Should the cowboy shoot the nativeAmericanMan?** ) ||

Functions

 * Number **world.playScene3** //No variables// ||
 * || //Do Nothing// ||
 * **Return** **1** ||

Methods

 * **cowboy.shakeHead** ( [ABC] **yesOrNo**)
 * headMovement** **=** **0.06** ||
 * |||| **If** ( **yesOrNo** **==** **yes** ) ||
 * ^  ||   || **cowboy.upperBody.neck.head** **turn** **forward** **headMovement** revolutions duration = **0.25** seconds || **cowboy.upperBody.neck.head** **turn** **backward** ( **(** **headMovement** * **2** **)** ) duration = **0.5** seconds || **cowboy.upperBody.neck.head** **turn** **forward** **headMovement** revolutions duration = **0.25** seconds |||| **Else** ||   || **cowboy.upperBody.neck.head** **turn** **right** **headMovement** revolutions duration = **0.25** seconds || **cowboy.upperBody.neck.head** **turn** **left** ( **(** **headMovement** * **2** **)** ) duration = **0.5** seconds || **cowboy.upperBody.neck.head** **turn** **right** **headMovement** revolutions duration = **0.25** seconds ||

//No variables// ||
 * **cowboy.ShootIndian** ( [ABC] **yesOrNo**)
 * |||||||| **If** ( **yesOrNo** **==** **yes** ) ||
 * ^  ||   |||||| **Loop** **1** time **time** ||
 * ^  ||^   ||   |||| **revolver2** **turn** **backward** **.25** revolutions |||| **Do together** ||   || **revolver2** **turn** **backward** **.1** revolutions duration = **0.1** seconds style = **abruptly** || **fire** **set** **opacity** **to** **1 (100%)** duration = **0.1** seconds || **fire2** **set** **opacity** **to** **1 (100%)** duration = **0.1** seconds |||| **Do together** ||   || **fire** **set** **opacity** **to** **0 (0%)** duration = **0.1** seconds || **fire2** **set** **opacity** **to** **0 (0%)** duration = **0.1** seconds || **revolver2** **turn** **forward** **0.1** revolutions duration = **0.1** seconds style = **abruptly** |||| **nativeAmericanMan** **turn** **backward** **0.1** revolutions |||| **nativeAmericanMan** **move** **up** **10** meters |||||||| **Else** ||   |||||| **If** ( **yesOrNo** **==** **no** ) ||   |||| **cowboy** **turn** **left** **0.5** revolutions |||| **cowboy** **move** **forward** **10** meters |||||| **Else** ||   |||| //Do Nothing// ||

Events

 * **When the world starts** ||
 * **Do:** ||  || **fire.spin like crazy** ||   ||

Methods

 * **fire.spin like crazy** //No variables// ||
 * |||||| **Do together** ||
 * ^  ||   |||| **Loop** **infinity** times **times** ||
 * ^  ||^   ||   || **fire** **turn** **left** **2** revolutions duration = **4** seconds |||| **Loop** **infinity** times **times** ||   || **fire.innerFire** **turn** **right** **2** revolutions duration = **7** seconds |||| **Loop** **infinity** times **times** ||   || **fire.outerFire** **turn** **right** **2** revolutions duration = **3** seconds |||| **Loop** **infinity** times **times** ||   || **fire** **resize** **0.75** likeRubber = **false** **top to bottom** ( **random number** maximum = **0.75** ) style = **abruptly** || **fire** **resize** **1.33** likeRubber = **false** **top to bottom** ( **random number** maximum = **0.75** ) style = **abruptly** |||| **Loop** **infinity** times **times** ||   || **fire.outerFire** **resize** **1.14** likeRubber = **true** duration = **2.7** seconds || **fire.outerFire** **resize** **0.88** likeRubber = **true** duration = **2.7** seconds ||

Events

 * **When the world starts** ||
 * **Do:** ||  || **fire2.spin like crazy** ||   ||

Methods

 * **fire2.spin like crazy** //No variables// ||
 * |||||| **Do together** ||
 * ^  ||   |||| **Loop** **infinity** times **times** ||
 * ^  ||^   ||   || **fire2** **turn** **left** **2** revolutions duration = **4** seconds |||| **Loop** **infinity** times **times** ||   || **fire2.innerFire** **turn** **right** **2** revolutions duration = **7** seconds |||| **Loop** **infinity** times **times** ||   || **fire2.outerFire** **turn** **right** **2** revolutions duration = **3** seconds |||| **Loop** **infinity** times **times** ||   || **fire2** **resize** **0.75** likeRubber = **false** **top to bottom** ( **random number** maximum = **0.75** ) style = **abruptly** || **fire2** **resize** **1.33** likeRubber = **false** **top to bottom** ( **random number** maximum = **0.75** ) style = **abruptly** |||| **Loop** **infinity** times **times** ||   || **fire2.outerFire** **resize** **1.14** likeRubber = **true** duration = **2.7** seconds || **fire2.outerFire** **resize** **0.88** likeRubber = **true** duration = **2.7** seconds ||