Collision detection is a crucial component of any game, simulation, or interactive application. Greenfoot provides built-in methods of detecting collisions. In this chapter, we carefully explained each of these methods and then demonstrated how you could use them to do more advanced collision detection. Specifically, we discussed border-based and hidden-sprite techniques. Moving forward, we will use collision detection often and will choose a method appropriate for our example. In the next chapter, we will look at projectiles and will have ample opportunity to put into practice what you have learned in this chapter.
Creative Greenfoot: RAW
By :
Creative Greenfoot: RAW
By:
Overview of this book
Table of Contents (17 chapters)
Creative Greenfoot
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Let's Dive Right in…
Animation
Collision Detection
Projectiles
Interactive Application Design and Theory
Scrolling and Mapped Worlds
Artificial Intelligence
User Interfaces
Gamepads in Greenfoot
What to Dive into Next…
Index
Customer Reviews