4 releases

Uses new Rust 2024

0.2.1 Mar 6, 2025
0.2.0 Nov 30, 2024
0.1.1 Aug 21, 2024
0.1.0 Aug 20, 2024

#457 in Game dev

Download history 127/week @ 2024-11-25 50/week @ 2024-12-02 42/week @ 2024-12-09 4/week @ 2024-12-16 4/week @ 2025-01-06 2/week @ 2025-01-13 10/week @ 2025-01-27 15/week @ 2025-02-03 12/week @ 2025-02-10 26/week @ 2025-02-17 6/week @ 2025-02-24 142/week @ 2025-03-03 12/week @ 2025-03-10

191 downloads per month

MIT/Apache

46KB
838 lines

pyri_tooltip

Crates.io Docs License

A simple demonstration of a few tooltip features

Read the documentation for more information.

Bevy version compatibility

bevy version pyri_tooltip version
0.15 0.2
0.14 0.1

License

This crate is available under either of MIT or Apache-2.0 at your choice.


lib.rs:

Powerful tooltips for Bevy.

Getting started

Import the [prelude] to bring common types into scope:

use pyri_tooltip::prelude::*;

Add TooltipPlugin to set up the tooltip system:

app.add_plugins(TooltipPlugin::default());

Spawn a UI node with the Tooltip component:

commands.spawn(Tooltip::cursor("Hello, world!"));

Advanced

To customize the behavior and appearance of a tooltip, see Tooltip.

To replace the default primary tooltip, see TooltipPlugin and PrimaryTooltip.

Dependencies

~51–82MB
~1.5M SLoC