Copeland-McKeever

Project in student drive under Copeland.

=Tankproject code's Code= =Created by: MckeeevrCopeland=

Events

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


 * **When** Up **is typed** ||
 * **Do:** || || **world.my first method** || ||


 * **When** Left **is typed** ||
 * **Do:** || || **tank.left** || ||


 * **When** Right **is typed** ||
 * **Do:** || || **tank.right** || ||


 * **When** Down **is typed** ||
 * **Do:** || || **tank.backwards** || ||


 * **When** A **is typed** ||
 * **Do:** || || **tank.barrel left** || ||


 * **When** D **is typed** ||
 * **Do:** || || **tank.barrel right** || ||


 * **When** Space **is typed** ||
 * **Do:** || || **tank.barrel reset** || ||


 * **When** W **is typed** ||
 * **Do:** || || **tank.barreldown** || ||


 * **When** S **is typed** ||
 * **Do:** || || **tank.barrelup** || ||


 * **When** F **is typed** ||
 * **Do:** || || **world.shoot** || ||

Methods
//No variables// ||
 * **world.my first method**
 * || **tank** **move** **forward** **5** meters style = **abruptly** duration = **0.25** seconds asSeenBy = **tank.body** ||
 * ^  || **//** **Moves tank forward to desired position** ||

//No variables// ||
 * **world.shoot**
 * |||||| **Do in order** ||
 * ^  ||   |||| **Do together** ||
 * ^  ||^   ||   || **sphereHighPoly** **set** **opacity** **to** **1 (100%)** duration = **.1** seconds ||
 * ^  ||^   ||^   || **fire** **set** **opacity** **to** **1 (100%)** duration = **0.1** seconds ||
 * ^  ||^   |||| **sphereHighPoly** **move** amount = **100** meters **away from** target = **tank.turret.barrel.longGun** duration = **0.25** seconds ||
 * ^  ||^   |||| **Do together** ||
 * ^  ||^   ||   || **sphereHighPoly** **set** **opacity** **to** **0 (0%)** duration = **0.01** seconds ||
 * ^  ||^   ||^   || **fire** **set** **opacity** **to** **0 (0%)** duration = **0.1** seconds ||
 * ^  ||^   |||| **sphereHighPoly** **move** amount = **100** meters **toward** target = **tank.turret.barrel.longGun** duration = **0.25** seconds ||
 * ^  |||||| **//** **Used to make the tank fire in the direction aimed** ||

Methods
//No variables// ||
 * **tank.left**
 * || **tank** **turn** **left** **0.0375** revolutions style = **abruptly** duration = **0.25** seconds asSeenBy = **tank.body** ||
 * ^  || **//** **Turns tha tank to the left.** ||

//No variables// ||
 * **tank.right**
 * || **tank** **turn** **right** **0.035** revolutions duration = **0.25** seconds style = **abruptly** asSeenBy = **tank.body** ||
 * ^  || **//** **Turns the tank to the right** ||

//No variables// ||
 * **tank.backwards**
 * || **tank** **move** **backward** **5** meters duration = **0.25** seconds asSeenBy = **tank.body** style = **abruptly** ||
 * ^  || **//** **Moves tank backwards to desired position.** ||

//No variables// ||
 * **tank.barrel left**
 * || **tank.turret** **turn** **left** **0.15** revolutions duration = **0.5** seconds asSeenBy = **tank.body** style = **abruptly** ||
 * ^  || **//** **Move sthe barrel to the left to position it.** ||

//No variables// ||
 * **tank.barrel right**
 * || **tank.turret** **turn** **right** **0.15** revolutions style = **abruptly** duration = **0.5** seconds asSeenBy = **tank.body** ||
 * ^  || **//** **Moves tank barrel to the right in your desired position.** ||

//No variables// ||
 * **tank.barrel reset**
 * || **tank.turret** **turn to face** **camera** style = **abruptly** asSeenBy = **tank.body** ||
 * ^  || **tank.turret.barrel** **turn to face** **camera** style = **abruptly** asSeenBy = **tank.body** ||
 * ^  || **//** **returning barrel to face camera. (The user)** ||

//No variables// ||
 * **tank.fire**
 * || **//** **NOT USED** ||

//No variables// ||
 * **tank.barrel up**
 * || **tank.turret.barrel** **turn** **forward** **0.15** revolutions style = **abruptly** duration = **0.5** seconds asSeenBy = **tank** ||
 * ^  || **//** **Moving barrel up to fire** ||

//No variables// ||
 * **tank.barrel down**
 * || **tank** **turn** **backward** **0.15** revolutions style = **abruptly** asSeenBy = **tank** duration = **0.5** seconds ||
 * ^  || **//** **Moves barrel down to position it, but NOT USED.** ||

//No variables// ||
 * **tank.barreldown**
 * || **tank.turret.barrel** **turn** **backward** **0.03** revolutions ||
 * ^  || **//** **Moves barrel down to position it.** ||

//No variables// ||
 * **tank.barrelup**
 * || **tank.turret.barrel** **turn** **forward** **0.03** revolutions style = **abruptly** ||
 * ^  || **//** **Moves tank barrel up to position it.** ||


 * **tank.driveInSquare** ( [123] **edgeLength**)
 * driveInSquare** **=** **1** ||
 * || **//** **Was a free time method that was NOT USED.** ||

Events

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

Methods
//No variables// ||
 * **fire.spin like crazy**
 * |||||| **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 ||

Methods

 * **nest.texture_swap**
 * t** **=** **1** ||
 * || //Do Nothing// ||

Events

 * **While the world is running** ||
 * **Begin:** || **** ||
 * **During:** || || **waterFall.textureMapAnimation** || ||
 * **End:** || **** ||

Methods
//No variables// ||
 * **waterFall.textureMapAnimation**
 * |||| **For all** **waterFall.textureMaps** **, one** **item_from_textureMaps** **at a time** ||
 * ^  ||   || **waterFall** **set** **skin texture** **to** **item_from_textureMaps** duration = **1/8** seconds ||