3 unstable releases

0.2.0 Nov 30, 2024
0.1.1 Aug 21, 2024
0.1.0 Aug 20, 2024

#883 in Game dev

Download history 32/week @ 2024-09-15 21/week @ 2024-09-22 18/week @ 2024-09-29 125/week @ 2024-10-06 34/week @ 2024-10-13 31/week @ 2024-10-20 25/week @ 2024-10-27 53/week @ 2024-11-03 3/week @ 2024-11-10 3/week @ 2024-11-17 105/week @ 2024-11-24 68/week @ 2024-12-01 45/week @ 2024-12-08 5/week @ 2024-12-15

53 downloads per month

MIT/Apache

45KB
811 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

~48–79MB
~1.5M SLoC