Step 4 - Exploration for food

Your squid is going to get hungry. Let's find some food.

Colossal squid have a colossal parrot-like beak in the middle of their arms which they use for slicing up prey before their radula (tongue with teeth) shreds it up to be swallowed. They like to eat crabs and fish like the Antarctic toothfish.

Let's turn the prey in your game into collectables so your squid can eat them.

If you are still playing your game close out of it by clicking Close, and if you are still editing the Squid script, click the X button to close it and save it.

There is plenty of food for your squid, and you can find it by panning up the level to see more of it. Do this by clicking on the pan tool () and then clicking on the level and dragging your mouse down.

The first food you can find is a cluster of starfish. Right-click on one of them to edit their script.

We need to detect when the squid touches them, so open Physics and find "When I am touched get toucher". Drag this block into the work space.

When the squid has its prey in its clutches it will destroy it, so open Control Flow and drag "destroy myself" inside the "When I am touched" block.

Now click Play and guide your squid to eat the starfish.

results matching ""

    No results matching ""