Wessl / DH2650

0 stars 1 forks source link

Enemy: Wasp #6

Open Wessl opened 3 years ago

Wessl commented 3 years ago

I'm already working on making a wasp sprite and animating it in dragonbones, hence why I assigned myself.

Wessl commented 3 years ago

The Wasp is pretty much a functional enemy at this point. It animates when flying and transitions nicely in and out of damage/flying animations, properly uses the A* stuff that Robin set up to chase the Player, and actually deals damage. All in all it looks decent at this point, in my own opinion.

One suggestion for improvement is: Make the movement a little less floaty and more snappy. Realistically wasps don't fly quickly towards a target and just keep going a few units of distance past their target in a floaty way, and then float back to the target but overshoot again, etc. It works okay but it would look better if they moved a little snappier when near the enemy. Perhaps the force applied to them could be stronger the closer they are to the enemy?

rbratfors commented 3 years ago

Yeah, the floaty movement is my bad. I just slapped an AddForce on and didn't play with the settings. If AddForce will be kept, it probably needs an upper limit so the wasp doesn't become a ballistic missile, as well as increasing the forcevalue for snappier movement overall, since as you said wasps have pretty good control of their movement.

I think the second op tion is going with velocity instead and adding lerp to it. I'll play around with some settings and we'll see.