Don't Hit Me: Collision Detection Techniques
暂无分享,去创建一个
If you do much game development, you'll eventually need to determine when two objects on screen are colliding with one another. Although Flash does not automatically notify you of this, there are a number of different methods that can be used to detect it. In this chapter, we'll look at several types of collision detection and in which scenarios they work best. We'll also look at the strategies that can be used with different styles of detection to achieve the desired results.