fishfolk / jumpy

Tactical 2D shooter in fishy pixels style. Made with Rust-lang 🦀 and Bevy 🪶
https://fishfolk.org/games/jumpy/
Other
1.65k stars 121 forks source link

Player can ragdoll themselves while holding sword and then be killed by it #938

Open MaxCWhitehead opened 6 months ago

MaxCWhitehead commented 6 months ago

Description

Player can ragdoll themselves while holding sword and then be killed by it, if the sword is moving fast enough.

Maybe this doesn't have to be fixed and encourage not playing with swords haphazardly - but I think it's probably not the best experience. Maybe should discuss before deciding to fix.

To Reproduce

Grab sword, jump while running and press F to ragdoll. Position / speed will impact repro, video attached to help see how.

Expected Behavior

Player probably shouldn't be allowed to be killed by sword in this way, but I'm not sure if we want to say they can't ever be killed by a sword they threw either

Like if some mechanic bounces the sword back, or it bounces of sproinger and they run into it - probably should die). Maybe some sort of timer or something to fix this - need to think about it.

Additional Context

https://github.com/fishfolk/jumpy/assets/35712032/5b1fac39-d82d-4d6d-b2a1-1c9e56653003

Log Messages

No response

zicklag commented 6 months ago

LOL I mean, if you're holding a sword and you decide to just throw yourself around, you're probably gonna get hurt. 🤷‍♂️ 😆

But really, you're right,that doesn't look like it should kill you.