fkenyon2014.files.wordpress.com · web viewfiona kenyon created date: 02/26/2014 02:14:00 last...

4
Making Kodu eat apples Step 1 Open a new world add a Kodu Character and add 3 apples. To add apples you do the same as you would to add a Kodu character but select apples instead. Step 2 You now need to hover over Kodu and select program, like shown below. This program is going to need to lines of code in the programming screen. Step 3 Click the + next to WHEN and select ‘see’

Upload: lamhanh

Post on 29-May-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

Making Kodu eat apples

Step 1

Open a new world add a Kodu Character and add 3 apples. To add apples you do the same as you would to add a Kodu character but select apples instead.

Step 2

You now need to hover over Kodu and select program, like shown below.

This program is going to need to lines of code in the programming screen.

Step 3

Click the + next to WHEN and select ‘see’

Next click the + next to where the ‘SEE’ coding block now is.

Then select objects and find apples in the menu.

You now need to program what happens when the kodu see the apples, so click the + next to DO

Select ‘Move’ like shown below.

Now click the + next to where your program says move and select ‘toward’. Your program should look like this:

Step 4

You now need to create another line of code to make the kodu eat the apples.

On line 2 select the + next to WHEN and then select ‘bump’ like on the picture below.

Click the + next to where ‘bump’ now is in your program and find apple in the menu. Your program should now look like this:

You now need to click the + next to DO to say what happens when Kodu bumps into the Apple.

You need to select ‘eat’ like shown below.

Step 5

Test your game.