#spawn #logic #tiny #bevy #utility #encapsulate #builder

bevy_spawnable

tiny spawn utility for Bevy, to encapsulate spawn logic

4 releases

0.1.3 Apr 24, 2024
0.1.2 Apr 21, 2024
0.1.1 Apr 21, 2024
0.1.0 Apr 21, 2024

#1390 in Game dev

WTFPL license

27KB

bevy_spawnable

Crates.io Docs.rs License

A tiny spawn utility for bevy. This crate will helps you:

  • encapsulate the spawn logic into a single function or object.
  • no worry about builder is Commands or ChildBuilder.

You can use this crate as a kind of like Unity's prefab as a code object, or builder to create entities which have complex structure.

( If you need more detailed spawn utility, consider moonshine_spawn as an alternative. )

Usage

see examples

Versions

bevy bevy_spawnable
0.13 0.1

Dependencies

~20–47MB
~769K SLoC