Max+and+John



Chapter 5 Alice Program. CODE FILE

Program is in or class folder, under McKeever folder, unde the name HorsesJohnMax

=horsegalloping's Code= =Created by: max and john BROS=

Events

 * **When the world starts** ||
 * **Do:** ||  || **horse.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse23.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse24.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse25.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse26.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse27.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse28.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse29.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse30.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse31.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse32.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse33.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse34.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse35.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse36.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse37.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse38.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse39.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **horse40.Gallop** ||   ||


 * **When the world starts** ||
 * **Do:** ||  || **world.play gallop** ||   ||

Methods

 * **world.my first method** //No variables// ||
 * || //Do Nothing// ||


 * **world.allGallop** //No variables// ||
 * |||| **//** **This list was supposed to make all the horses gallop, but they did niot work.** |||| **For all** **world.allGalloplist** **, every** **item_from_allGalloplist** **together** ||  || **horse.Gallop** ||


 * **world.play gallop** //No variables// ||
 * || **//** **Alice plays horse gallopping noise.** || **horse** **play sound** **world.32679__prosounder__galloping-horse (0:14.000)** ||

Methods

 * **horse.Gallop** //No variables// ||
 * |||||| // **Sets initial pose for horse v** // |||||| **horse** **set pose** **horse.pose2** duration = 0 seconds |||||| **Loops GallopMethod v** |||||| **Loop** **infinity** times **times** ||  |||| **Do together** ||   || **horse.GallopMethod** || **horse** **move** **forward** **3** meters duration = **.7** seconds style = **abruptly** || **horse** **move** **forward** **4** meters duration = **0.95** seconds style = **abruptly** ||


 * **horse.GallopMethod** //No variables// ||
 * |||| **Do together** ||
 * ^  ||   || // **Horse gallop part 1 v** // || **horse** **move** **up** **0.2** meters duration = **0.1** seconds || **horse.LeftFrontLeg** **turn** **forward** **0.25** revolutions style = **abruptly** duration = **0.25** seconds || **horse.RightFrontLeg** **turn** **forward** **0.1** revolutions style = **abruptly** duration = **0.25** seconds || **horse.RightFrontLeg.LowerLeg** **turn** **backward** **0.25** revolutions style = **abruptly** duration = **0.25** seconds || **horse.RightBackLeg** **turn** **forward** **.15** revolutions style = **abruptly** duration = **0.25** seconds || **horse.RightBackLeg.Knee** **turn** **forward** **0.05** revolutions style = **abruptly** duration = **0.25** seconds || **horse.LeftBackLeg** **turn** **forward** **0.15** revolutions style = **abruptly** duration = **0.25** seconds || **horse.LeftBackLeg.Knee** **turn** **backward** **0.05** revolutions style = **abruptly** duration = **0.25** seconds |||| **Do together** ||   || **Horse gallop part 2 v** || **horse** **move** **down** **0.2** meters duration = **0.1** seconds || **horse.LeftFrontLeg** **turn** **backward** **0.05** revolutions style = **abruptly** duration = **0.1** seconds || **horse.LeftFrontLeg.LowerLeg** **turn** **forward** **0.1** revolutions style = **abruptly** duration = **0.1** seconds || **horse.RightFrontLeg** **turn** **forward** **0.15** revolutions style = **abruptly** duration = **0.1** seconds || **horse.RightBackLeg.Knee** **turn** **backward** **0.1** revolutions style = **abruptly** duration = **0.1** seconds || **horse.LeftBackLeg** **turn** **backward** **0.15** revolutions style = **abruptly** duration = **0.1** seconds |||| **Do together** ||   || // **Horse gallop part 3 v** // || **horse** **move** **up** **0.2** meters duration = **0.2** seconds || **horse.RightFrontLeg** **turn** **backward** **0.25** revolutions style = **abruptly** duration = **0.2** seconds || **horse.RightFrontLeg.LowerLeg** **turn** **forward** **0.1** revolutions style = **abruptly** duration = **0.2** seconds || **horse.LeftFrontLeg** **turn** **backward** **0.1** revolutions style = **abruptly** duration = **0.2** seconds || **horse.LeftFrontLeg.LowerLeg** **turn** **forward** **0.05** revolutions style = **abruptly** duration = **0.2** seconds || **horse.RightBackLeg** **turn** **backward** **0.15** revolutions style = **abruptly** duration = **0.2** seconds || **horse.LeftBackLeg.Knee** **turn** **forward** **0.1** revolutions style = **abruptly** duration = **0.2** seconds |||| **Do together** ||   || **Horse gallop part 4 v** || **horse** **move** **down** **0.2** meters duration = **0.1** seconds || **horse.LeftFrontLeg.LowerLeg** **turn** **backward** **.3** revolutions style = **abruptly** duration = **0.2** seconds || **horse.RightFrontLeg.LowerLeg** **turn** **forward** **0.15** revolutions style = **abruptly** duration = **0.2** seconds || **horse.LeftBackLeg** **turn** **backward** **0.05** revolutions style = **abruptly** duration = **0.2** seconds || **horse.LeftBackLeg.Knee** **turn** **backward** **0.1** revolutions style = **abruptly** duration = **0.2** seconds |||| **//** **Horse return to horse.pose2 v** |||| **horse** **set pose** **horse.pose2** style = **abruptly** duration = **.15** seconds ||


 * **horse.allGallop** //No variables// ||
 * || //Do Nothing// ||