Turret
I managed to fix mostly the issues with the enemy I had last week, now it is time to talk about the turrets.
In case you are new to video games, Google defines a turret as a small tower on top of a larger tower or at the corner of a building or wall, typically of a castle. In this case, my turret looks like this:
It's rather simple: I used one of the cube assets from Unreal and I made it into a turret. The white cube at the end is where the projectiles come from and the hitbox on top of the cube is similar to that of the normal, roaming enemy. The turret shoots out these projectiles, which locks onto the player and shoots in their direction. Though so far, I managed to shorten the lifespan of the particle to three seconds after it's been shot. There's a lot more things I have to do, some of which include delaying the movement so that it doesn't instantly lock onto the player, and clamp the Z-Axis so that it only looks on that axis.
What I can do is have a delay node and put it somewhere in the turret blueprint, though it'll take a bit, but not too long. Most of the things that I've learned over the course of these past months are from doing my own research. There is also a clamp node that I can use, so that I can link it to the return value of the turret itself. Perhaps there is someway to disable the X-Axis and Y-Axis, so that it can look on the Z-Axis, I am not sure, since I don't have much knowledge regarding clamping axes.
Get ASTRO SHIPPING CO.
ASTRO SHIPPING CO.
Get off of the sector you crashed in and get your package delivered!
Status | Prototype |
Author | Mani Singh |
Genre | Adventure |
Tags | 3D, 3D Platformer, Metroidvania |
More posts
- Post-MortemNov 18, 2022
- Update on ProjectNov 13, 2022
- I am not a fan of enemy AI and I don't have a clever title for this blog postNov 07, 2022
- Nobody Told Me Creating Particle Systems Would Be FunOct 31, 2022
- Work with Cinematic CameraOct 22, 2022
- How To Add SFX to Collectibles and Pick-UpsOct 17, 2022
- Progress on Turret, Almost DoneOct 11, 2022
- Working on EnemiesSep 26, 2022
- Collectathon GamesSep 19, 2022
Leave a comment
Log in with itch.io to leave a comment.