bevy_cleancut

Crates.iobevy_cleancut
lib.rsbevy_cleancut
version0.2.7
sourcesrc
created_at2024-08-15 18:18:24.66689
updated_at2024-09-10 16:52:31.308688
descriptionRandom utility stuff for bevy for my personal use. You're welcome to use it, too, if you like.
homepagehttps://github.com/CleanCut/bevy_cleancut
repositoryhttps://github.com/CleanCut/bevy_cleancut
max_upload_size
id1339079
size209,345
Nathan Stocks (CleanCut)

documentation

README

bevy_cleancut

Random utility stuff for bevy for my personal use. You're welcome to use it, too, if you like.

Stuff

It's all in the prelude: use bevy_cleancut::prelude::*

Thing Does What?
play_sound Plays a single sound effect with a minor, random pitch alteration which then despawns itself.
collision_started Easy way to verify if entities of two specific types have started colliding. (bevy_rapier2d)
collision_stopped Easy way to verify if entities of two specific types have stopped colliding. (bevy_rapier2d)
create_gravity2d_boundaries Spawn a nice compound Collider bordering left, right, and bottom of a default window for use in simple games that have gravity.
particle_trail_bundle Creates a particle trail as a bundle to be added as a child to an entity
spawn_particle_poof Creates a oneshot particle system that poofs in a global location
PlayerColors A struct with nice default colors to use for players
Action An enum for use with leafwing-input-manager suitable for 2d platformer with Run (single axis) and Jump (button) variants.

Compatibility

bevy bevy_cleancut
0.14.* 0.1.0-0.2.x
< 0.14 Unsupported
Commit count: 0

cargo fmt