fishfolk / punchy

A 2.5D side-scroller beatemup, made in Bevy
https://fishfolk.github.io/punchy/player/latest
Other
259 stars 30 forks source link

Aesthetic attachments (hats++) #260

Closed Zac8668 closed 1 year ago

Zac8668 commented 1 year ago

This will add the aesthetic attachments, but also a attachment component to deal with attaching things to the fighters. Closes #77

Zac8668 commented 1 year ago

I think this is completed, the thing we could add is a folder called assets/attachmets or assets/hats and have some hats pre configured there, so when adding we could reference it, as we do with items on ...level.yaml, not sure if that's necessary.

odecay commented 1 year ago

Ok first comment, why does this change the dimensions of the sharky sprite?

Zac8668 commented 1 year ago

Ok first comment, why does this change the dimensions of the sharky sprite?

There isn't enough space for the hat on the current sprite.

@odecay The way I did, the hats are like a layer on top of the player/fighter sprite, so they need to be the same size, but on the current player sprite, there isn't enough empty space on the top of the player head for the hat.

odecay commented 1 year ago

Okay I tested this out. There is one issue with sprite sorting the hat attachment relative to the sword, hat overlays the sword. hat_sort_punchy

odecay commented 1 year ago

Okay looks good

odecay commented 1 year ago

bors merge

bors[bot] commented 1 year ago

Build succeeded: