Classic Game Programming On The NES - Chapter 9 - Collision detection
This chapter covers
- Object Collision Detection
- Applying collision detection between our enemies and the player’s bullet
In most games, especially action games, there will be the need to know when one or more objects collide with each other. With our sample game being a shoot-em up we need to know when our enemy objects encounter both our player and any player’s bullets. At this stage, our enemies are all a fixed size, but later we will introduce more enemies of different sizes, so we will need to take this into account with the collision detection routine we will introduce in this chapter.
layout: page title: “Classic Games Programming for the NES - Chapter 9 - Collision detection” permalink: /ProgrammingGamesForTheNES/CGPNES-CH09