fishfolk / jumpy

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

Spike Shoes are still in player's hand after equipping #929

Closed MaxCWhitehead closed 2 months ago

MaxCWhitehead commented 4 months ago

Description

After equipping spike shoe they are still in the player's hand and may be dropped, while remaining on player's feet.

To Reproduce

Pickup spike shoe (Level 3 should have some).

Expected Behavior

Spike shoe should be consumed once equipped?

Additional Context

No response

Log Messages

No response

Breadp4ck commented 2 months ago

The item is called Stomp Boots. So, we may either drop or despawn them.

In the first approach, if the player also has a hat, there will be two (or three!) items left at the death location, which is not very convenient. We can solve this by giving either boots or hat some inertia for easier picking up. But I think that will be a little bit messy anyway.

I prefer the second approach. However, it may be not very enjoyable, since players won't be able to pick up the boots of the player they've slain.

To implement that, there must be some systems which despawn Attachments or something? I want to try to do something.