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

feat: character select screen tweak #915

Open nickrehac opened 5 months ago

nickrehac commented 5 months ago

make character/hat selection more obvious by keeping eyes mostly in the center of the character panel

Screenshot from 2024-02-03 17-02-54 Screenshot from 2024-02-03 17-02-47 Screenshot from 2024-02-03 17-02-42

nickrehac commented 5 months ago

Thanks for the feedback! I looked into the character scaling and found the sprite sheet has a considerable amount of padding which throws off the ui and might be better suited as part of the ui construction itself. I'm going to check if that padding is needed elsewhere

nickrehac commented 5 months ago

fixed the size and added spacing. characters drop down when selected which could be an indicator of selection status, but is actually egui being quirky thoughts?

Screenshot from 2024-02-06 13-57-11

zicklag commented 5 months ago

Hi @nickrehac, sorry for the delay. Life has had me incredibly busy recently. Could you push the code with the updated size and spacing?

As far as the egui issue, there must be some way to fix it, but me or someone else can try to take a look at it if we get the chance. I do want to get that fixed before merging.

nickrehac commented 5 months ago

Here you go, and no worries. I might take a crack at this last bit soon. It seems that calculating the sprite size each frame is unavoidable