200 likes | 294 Views
Arrays in Alice 3 . Start by adding characters from the Looking Glass Character Gallery. As an example five Magicians were added each given a slightly different name: Magician1 Magician2 etc. Using the same choices used to create a procedure: click MyScene, Procedures, Declare Procedures.
E N D
Start by adding characters from the Looking Glass Character Gallery
As an example five Magicians were added each given a slightly different name: Magician1 Magician2 etc.
Using the same choices used to create a procedure: click MyScene, Procedures, Declare Procedures
Next drag the initialize tile down from the instructions (located upper right)
Check the array box, pull down choices This example uses “Character”
Several things: Name “myGroup,”“ADD” clicked, pull down list of possible characters
Next drag a tile from the left“Levitate” in this example from Magician
Tile “Levitate” goes on top of “Drop tile Here” placeholder
Next drag the “C” from above the “Levitate” tile on top of “This.Magician”
Next get to Run method (click tab above your method) Click MyScene
Find tile “theArrayMethod” whatever you named it, drag it to the right