A downloadable asset pack

This file contains a partially-complete setup for enemies in bullet hell games for Unity 6. Specifically, it was made with version 6000.2.13f1. The code and prefabs are based  on work done for Bee Game 2025, with added complexity that should make it slightly easier to use.

I will warn; I haven't tested this much. Had hoped to get more stuff done before posting it, and hadn't even thought of doing any polish/bugtesting by the time I'm writing this. However, with some modification, it should be possible to use this to make as many enemies as you wish.

How to use:

Drag the files into your project. In order for the code to work, make sure that your project has an "Enemy" tag, and that it's applied to the enemy prefabs, the children of the enemy prefabs, and the bullet prefab. (Ideally I'd find some way for this to be done automatically, but don't have the time, apologies!)

Enemies utilize a nested class known as 'Action's, which contain information about what the enemy can do. Actions are what allow the enemy to fire bullets, and each Action subclass should have a unique actionUpdate function that performs the action.

Every enemy has a myActions dictionary; for each state the enemy can have (by default, just active vs inactive), there's a corresponding list of Actions that they will be performing. This list can be modified/set in the Start function of the enemy's script. (Every enemy should be a subclass of the Base enemy, or another subclass!)

Currently, the list of possible actions is small (because I rushed this, sorry!), but more can be added in the form of subclasses of Action, either by adding it inside of the base class for all enemies to use, or by adding it to an enemy subclass so that only that enemy can use it.

If you have any questions about how to use this, please feel free to ask!

Made by Ashton Gallistel, with some code based on/originating from https://22sage.itch.io/.

I do not approve of this being used with generative AI/LLMs, neither as training data nor as part of a larger project making use of genAI.

Outside of the above, free to use and modify with credit!

Published 17 hours ago
StatusReleased
CategoryAssets
AuthorTankProgramming

Download

Download
Bullet Hell Enemy Setup.zip 19 kB

Leave a comment

Log in with itch.io to leave a comment.