{"repo":"doonv/bevy_smooth_pixel_camera","free":true,"listed":false,"github":"https://github.com/doonv/bevy_smooth_pixel_camera","clone":"git clone https://github.com/doonv/bevy_smooth_pixel_camera.git","description":"Smooth pixel-perfect camera for Bevy","language":"Rust","stars":44,"topics":["bevy","bevy-plugin","camera","pixel","pixel-perfect","rust","smooth"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"bevy smooth pixel camera A bevy plugin that adds a simple smooth pixel camera. It works by rendering the main camera to a small viewport which is then rendered by a second camera spawned by the plugin. This allows for hybrid rendering of both a pixelated world and high resolution assets on top. This plugin has a [smoothing] feature, which makes the camera's movement appear smooth while keeping the world itself locked to a pixel grid. It works by moving the canvas in the opposite direction of the world camera's subpixel position. See the [ how smoothing works ] example for a demonstration of how it works behind the scenes. Smoothing OFF Smoothing ON :-----------------------------------------------------------------------------: :---------------------------------------------------------------------------------------------: ![The camera is locked to the pixel grid, causing jagged motion][smoothing off] ![The camera moves smoothly while the world itself stays locked to a pixel grid.][smoothing on] Usage 1. Add the bevy smooth pixel camera crate to your project. 2. Add the [ PixelCameraPlugin ] and set [ ImagePlugin ] to [ default nearest ]. 3. Add a PixelCamera to your world. 4. That's it! Features picking (default) - Enables [picking] through the viewport. Bevy Compatibility bevy bevy smooth pixel camera ------ ------------------------ 0.18. 0.4.x - [ main ] 0.13. 0.3.0 0.12. 0.1.0 - 0.2.1 [smoothing off]: https://raw.githubusercontent.com/doonv/bevy smooth pixel camera/main/ass","default_branch":null,"files":null,"tree":[],"storefront":"/r/doonv","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/doonv/bevy_smooth_pixel_camera/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}