EvoCannon 2 (Bullet Demo)

Another update on EvoCannon 2, I have just finished getting the bullets to spawn, make them move, then check for hitTests against enemies, and if a collision occurs they both remove themselves from the display list and their parent array. In other words you can now shoot and the enemies will disappear when the bullets hit. Also to make an improvement on my original design. I’ve made it so only 5 bullets can be on-screen at one time, this prevents against people spamming the cannon like a machine gun (kind of).

EvoCannon 2 (Bullet Demo)

Controls:

WASD/Arrow keys = Movement
Left Mouse Button = Shoot
Space = Spawn enemy (more than 20 will lag considerable)
P = Pause

One Response to “EvoCannon 2 (Bullet Demo)”

Leave a Reply

Search
Categories