Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Calendar
Upcoming eventsCookbook |
Movement Procedures and Forever BlocksNow that I have created my turtles, how do I get them to move? Solution:
![]() ![]() You must use a green Procedure block placed in the column for the breed that you want to have move. In this example, turtles have a Procedure called ‘wander’ which makes them move. You can add movement blocks to have them move in whichever way you want. Once the procedure is made, it must then be activated by attaching it to a brown Forever block or a Run block. In the example below, there are 3 breeds and each one has its own procedures for movement. Each of the three breeds (Turtles, Paint and Mario) has a different procedure for moving. The Mario breed is controlled by the keyboard buttons and has an extra procedure nested in it that launches the projectile.
Submitted by paige on 29. December 2007 - 11:45
|
Login (optional)Navigation |