Cannons and Generators
This week, I created the cannon and generator ship components, as well as cannon projectiles. Cannons shoot bullets into space, which check collision with any component as they travel. If they hit a ship component or the player ship, they inflict damage upon it and then die. Generators produce energy for the ship, so if all ship generators are destroyed, the ship will not be able to fire. In order for this mechanism to work, I had to create references to the ship in the generator Blueprint, which would then decrement a counter and trigger the “stop firing” event once it hits zero.
The cannon projectile needed some work as well. I had to test the damage output to all ship components except the one it is fired from, as well as the damage to the player ship.
Next week, I will make the first ship classes and figure out their movement capabilities.
Get Hammerhead
Hammerhead
Ram your way through space
Status | Released |
Author | LarsBrestrich |
Genre | Shooter |
Tags | Fast-Paced, Space, space-battle, Top down shooter, Unreal Engine |
More posts
- Tutorial and OutlookApr 25, 2020
- MenuApr 25, 2020
- OptimizationApr 25, 2020
- MinesApr 25, 2020
- Arrows and ExplosionsApr 25, 2020
- Hammerhead and SawbladesApr 25, 2020
- ShipsApr 25, 2020
- Player VesselApr 25, 2020
- IdeasApr 25, 2020
Leave a comment
Log in with itch.io to leave a comment.