Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Viewport from Bevy 0.8 instead of sprites to implement screen borders #9

Closed
drakmaniso opened this issue Jul 31, 2022 · 3 comments
Labels
enhancement New feature or request maybe Need further investigation

Comments

@drakmaniso
Copy link
Owner

Bevy 0.8 added a Viewport to each Camera, which should be enough to implement the borders around the desired resolution.

@drakmaniso drakmaniso added enhancement New feature or request maybe Need further investigation labels Jul 31, 2022
@Vixeliz
Copy link

Vixeliz commented Apr 22, 2023

If you want this it's mostly working on my repo https://github.com/vixeliz/bevy_vinox_pixel. Under src/camera/scaled.rs. It should at least get you started. :)

@drakmaniso
Copy link
Owner Author

Thanks, I'll take a look!

@drakmaniso
Copy link
Owner Author

Fixed by #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request maybe Need further investigation
Projects
None yet
Development

No branches or pull requests

2 participants