Adding a Companion
Since my last post I started working on the Companion AI for the model I ended up choosing a bird as it felt natural to the theme.

One of the biggest challenges I had for the companion to work was figuring out the movement math I wanted the companion to orbit the player for its first behavior.
This meant that I had to research circles and how to find points in a circle. It boiled down to two formulas.
Angle = Angle x speed x time; (this is used for the rotation over time)
Y = sin(angle) x radius; (circle position in the y coordinate)
X = cos(angle) x radius; (circle position in the x coordinate)
I definitely need to remember to use radians not degrees I also added some interpolation to smooth the movement.
At the moment we are likely to use this companion on a timer as we believe it may be a bit too powerful if left with the player all the time.
Currently this is how the bird looks you will see his attack pattern and also how it orbits the player:
I look forward to adding more functionality. We also named him his name is Roberto Aka Chicken Wing.
Get Sod & Steel
Sod & Steel
Guard the untouched grass! Battle waves of foes in a rogue-lite bullet hell with unique weapons and power-ups.
Status | Released |
Authors | Ctrl+Alt+Delinquents, AnthonyTartagliaFSU, Camodude120, Apollo1313, RamoHarper, BotoCollin |
Genre | Action |
Tags | Bullet Hell, Roguelite, Top-Down |
More posts
- Node Hell - Code for Nodes16 hours ago
- New weapons on the horizon1 day ago
- Skill Lawn3 days ago
- Press On6 days ago
- 🌱 Devlog v0.0.3 – Clarity in the Chaos22 days ago
- V0.0.3 Spawn 'Til You Drop - Prototype Complete22 days ago
- V0.0.3 Tiles and enemies22 days ago
- v0.0.3 Settings... but at what cost?22 days ago
- Stop and smell the .... Particles? Updated Map too!22 days ago
Leave a comment
Log in with itch.io to leave a comment.