Zheoni / bevy_pixel_buffer

A library to draw pixels in bevy
MIT License
40 stars 7 forks source link

Adjust pixel size #14

Closed KirkBuah closed 8 months ago

KirkBuah commented 8 months ago

Hi! I'm opening an issue as i can't find a way to open a discussion. Is there a way to manually adjust the PixelBufferSize from one of the bevy systems? I tried fiddling with QueryPixelBuffer but i cannot seem to find a way to do it except for .update_fill_egui() which, from my understanding, also adds new pixels to the pixel buffer (something i don't want to do). Thank you in advance!

Zheoni commented 8 months ago

Maybe this example will help https://github.com/Zheoni/bevy_pixel_buffer/blob/main/examples/resize.rs

If it does not, I will have a look a it next week.

KirkBuah commented 8 months ago

This helped me, thank you!