Game
Vortrus
7 years ago

Added grunt "divebomb"


The grunt enemies are now capable of divebombing the player. The movement of the grunt enemy is controlled by a Vector3 Lerp command, which I graciously copied and pasted above. Then, I made a simple float variable which increased with Time.deltaTime (the time between frames). This made essentially a timer.

Then, I modified this variable to be itself squared and multiplied by 1.03. This smoothed out the movement to where I wanted it to be. It also - crucially - made the movement exponential.

After this, I added the value which I had made to the y position of the object, sending the enemy careening down. Work still needs to be done on the x-position because the lerp is not working how I thought it would. I’ll keep ya posted! Thanks for reading!



0 comments

Loading...

Next up

New To Vortrus: Volume Sliders!

Haven't had much time to work on Vortrus, but I have had time to add pretty post processing! Pretty good looking, huh?

New Creation Video Dropping Tomorrow Watch as this new concept art comes to life! Check it out on Youtube tomorrow at 1pm Eastern Time! Also keep watching for new updates in the days to come!

Working on level 6! I’m currently working on level 6 of Vortrus! This level will include combat against ground units among other new situations. It also will include the first actual terrain! :D Note that the screenshot is still very much a WIP.

A new patch just went live... along with this behemoth of a weapon! Why not earn it?

Working on a new type of ship! Hello, I am currently working hard on a new ship type called the Tyranis Carrier which will bring lots of new possibilities for the way you eliminate enemies. Stay tuned!

A New Enemy Type Appears! The Protus Raider will be in Protus Maximum and Minimum!

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

We are under attack!

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^