Crates.io | bevy_quick_response |
lib.rs | bevy_quick_response |
version | 0.1.11 |
source | src |
created_at | 2024-04-18 00:34:28.788742 |
updated_at | 2024-04-21 22:11:02.247479 |
description | A Bevy plugin for quick responsive behaviors |
homepage | |
repository | https://github.com/funatsufumiya/bevy_quick_response |
max_upload_size | |
id | 1211948 |
size | 117,177 |
(README japanese: README_ja.md)
A Bevy plugin, which changes the initial settings to respond immediately to user input.
The normal behavior of Bevy is to turn on VSync, which causes a delay of 3 frames. On the other hand, turning off VSync removes the FPS limit and increases the load on the CPU/GPU.
This plugin changes the settings to turn off VSync to improve responsiveness while behaving as close as possible to when VSync is on. (By default, the base FPS is set to 60 and the maximum FPS is set to 120.)
app.add_plugins(QuickResponsePlugin::default())
(DefaultPlugin
is automatically enabled, so no need to add it.)
Customizing the behavior, see examples/advanced.rs.
Bevy | bevy_quick_response |
---|---|
0.13 | 0.1 |
Mailbox
(Fast VSync) is selected for Windows/Linux (DX11/DX12, Vulkan), and AutoNoVsync
is selected for macOS (Metal) and others.wait
of UpdateMode::ReactiveLowPower
.DefaultPlugin
by other settings except this plugin.