Presentation is loading. Please wait.

Presentation is loading. Please wait.

This is ballsbounce. a2w where I have dragged more things into world

Similar presentations


Presentation on theme: "This is ballsbounce. a2w where I have dragged more things into world"— Presentation transcript:

1 This is ballsbounce. a2w where I have dragged more things into world
This is ballsbounce.a2w where I have dragged more things into world.my first method. Note that the methods for volleyBall are under volleyBall and the methods for tennisBall are under tennisBall etc.

2

3 Now I have in world. my first method, three other methods: world
Now I have in world.my first method, three other methods: world.startup, world.process and world.wrapup.

4

5 This is world.startup which positions the balls.

6 This is world.wrapup which brings the balls back to the ground.

7 This is world.process which does the bounce method associated with each object (each ball).

8

9 To create a variable, I click on create new variable and give the variable a name and a starting value.

10

11

12

13 This loop starts an index at 1 and adds 1 each time stopping before it reaches 3.

14 will see the options to set or increment.

15

16 This shows an if using a random number.

17 Random is a function.

18

19

20


Download ppt "This is ballsbounce. a2w where I have dragged more things into world"

Similar presentations


Ads by Google