top of page

Game Prototype: Bullet Manager

We designing our game, to make it more challenging, we decided to add enemies that would shoot at the Player to prevent them from progressing without a fight. The Player will also have the ability to shoot to help combat these enemies. To do this we created a class that for Bullets as well as one for a Bullet Manager. The Bullet Manager class contained a list that would hold every bullet object that was created and remove them after a while.


Both the Player and the enemies will have their own Bullet Manager to help determine their behaviour for shooting. The Player needs to be able to control when they shoot through keyboard input. Since enemies won't have any keyboard input for them to shoot, the Bullet Manager has to be slightly adjusted. We also don't want the enemies to be firing endlessly otherwise the game would be impossible to beat.


After messing around with a few variables here and there, we were finally able to complete the shooting mechanic for both the player and the enemies.


Here is a quick demo:

(This is just an example for demonstration purposes)




5 views

Recent Posts

See All
bottom of page