Nerd For Tech
Published in

Nerd For Tech

Making A Custom Bullet Hell-style Attack System (Part 1)

I want to upgrade the shooting mechanic for both players and enemies, so I’ll be making a “Bullet Hell”-style system today. This will be a multi-part post.

Create a new script:

Create the variables used for attacks

Leave this script for now, and create another new script called “ProjectileAttackTemplate”.

In Update(), create a way to activate the attack
Calculate the position, rotation, direction and velocity, then spawn the projectile

The result:

Shooting 40 lasers at once!



NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vincent Taylor

Unity game developer / C# Programmer / Gamer. Australian (Tasmanian) indie games developer for 10+ years. Currently looking for games industry employment.