In this chapter, we will first get the Bullet Hell project setup and ready to roll with a single bullet whizzing across the screen. Then we will learn about Java arrays which allow us to manipulate a potentially huge amount of data in an organized and efficient manner.
Once we are comfortable handling arrays of data we will see how we can spawn hundreds or thousands of our new Bullet
class instances, without breaking a sweat.
The topics in this chapter include:
Planning the Bullet Hell game
Coding the Bullet Hell engine based on our Pong engine
Coding the
Bullet
class and spawning a bulletJava arrays
Spawning thousands of bullets
Let's plan what the final game will be like.