ballistica icon indicating copy to clipboard operation
ballistica copied to clipboard

Power-ups affecting melee combat

Open VinniTR opened this issue 1 year ago • 2 comments

Description

Power-ups are affecting melee combat, why? Because these can be hit, you take knockback and this puts you at a disadvantage, It's like you punch a wall. In the case of hitting your opponent who was nearby, the damage will be less than that received by the great immovable box. Thanks to this pr, it will be less complicated to fight near the power-ups placed in the middle. Also it doesn't make any sense that you can hit powerups and receive knockback if they disappear with touch, I think this makes it easier for you to grab them if you hit them

Type of Changes

Type
:bug: Bug fix
:sparkles: New feature

VinniTR avatar Jan 26 '24 05:01 VinniTR

https://github.com/efroemling/ballistica/assets/71152012/b693ad40-22a7-4faa-a52a-130ab20127ec

VinniTR avatar Jan 26 '24 05:01 VinniTR

current behavior

https://github.com/efroemling/ballistica/assets/71152012/88e48c88-767a-4200-b3bb-0fed73156e75

VinniTR avatar Feb 01 '24 19:02 VinniTR

Oo this change seems cool! Aside from fixing an issue, it gives more depth - punch to get the powerup just a bit faster. Neat!

SoK05 avatar Mar 01 '24 12:03 SoK05

Looks good to me; thanks! In principle I slightly don't like that this adds spaz behavior that is specific to the powerup class (ie: if someone wants to write a replacement powerup class it won't behave the same)... but pragmatically there's lots in spaz that is hard-coded in ways such as this, so we can worry about cleaning things up in scene-v2/etc.

efroemling avatar Mar 02 '24 00:03 efroemling