basicforPDF.htmlPage 1Mon, Jun 23, 199712:10 PM
Welcome to the Basics Tutorial for Cocoa!
The Basics section will help new users learn the basics to building worlds in Cocoa.Please open your copy of Cocoa and follow along with the steps described in the tutorial.Some words on these pages are linked to theTutorial Word List: click on a word if you'd like to see adefinition of it. Click on the BACK button in your browser to return to the Tutorial.
In Cocoa, only
on the board can act in a world. You show your pieces how to act by writing
of behavior. All pieces which have rules and are on the board get a chance to try their rules onevery
There are 2 steps to getting started:
1. Create a
.2. Write a
that makes the piece do something.This tutorial will show you how to build an obstacle course for a piece to move around.You'll make a piece and give it a rule that moves it to the right. You'll then give it rules for jumpingon and off of obstacles that get in its way.And, if you want to see what else your piece can do, you can build a world with more obstacles in itand give your piece more ways to get through it.You can
download the "Starter World"
to your computer. It's about 8K and will take less than aminute to download.When you open Cocoa, click the "Open Saved World" button.