Build a Paintball Game (part 5 of 6)

Tagged:

Previous: Collisions (part 4 of 6)

"Speech"

Agents can "say" things through "say bubbles," much like the speech bubbles that you see in comic strips. To get agents to say things you use the Say block found in the Text tab. Let's add a "splat" when a sphere collides into a Turtle. Grab a Say block and attach it beneath the Set Color block in the Collision block between Paint and Turtles.

Go to the Text tab and bring out the "abc" block. Edit the block to say "splat" (no quotes) or whatever you like.

Now run the model and see what it looks like when paintballs collide into turtles.

Next: Editing Terrain (part 6 of 6) Back To Top