Book Image

Creative Greenfoot: RAW

By : Michael Haungs
Book Image

Creative Greenfoot: RAW

By: Michael Haungs

Overview of this book

Table of Contents (17 chapters)
Creative Greenfoot
About the Author
About the Reviewers


Okay, we have implemented several forms of collision detection in our zombie simulation. Which method of collision detection do you prefer for this simulation?

For a challenge, create an Actor ball that occasionally rolls in from the left and knocks zombies out of the way. If the ball hits Wall, have it do 1,000 damage to it. Which form of collision detection will you use to detect collisions between the ball and zombies and between the ball and a wall?