{"repo":"AlephCubed/bevy_alchemy","free":true,"listed":false,"github":"https://github.com/AlephCubed/bevy_alchemy","clone":"git clone https://github.com/AlephCubed/bevy_alchemy.git","description":"An experimental, status effects-as-entities system for Bevy.","language":"Rust","stars":19,"topics":["bevy","bevy-engine","bevy-plugin","game-development","gamedev","rust","effect","status"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"Bevy Alchemy An experimental, status effects-as-entities system for Bevy. Applying Effects Effects can be applied using with effect or with effects (similar to with child and with children respectively). They can also be added using spawn-style syntax. Note that these methods might spawn a new entity, depending on what effects are already applied to the target. Effect Modes For some effects it makes sense to allow stacking, so a single entity could be effected by an effect multiple times. Other effects should only be applied once, either replacing or merging with the previous one. This behaviour can be selected using an effect's MergeMode , which has the following cases: Mode Behaviour -------- ----------------------------------------------------------------------------------------- Stack Multiple of the same effect can exist at once. Insert New applications will overwrite the existing one. Merge New applications are merged with the existing one, using a configurable merge function. Effects are considered the same if they have the same name. Implementing Effects Effects can be implemented using simple systems. Below is an excerpt from the poison example. Utility Components A handful of components are included that are intended to make it easier to create common effects. Component Description ---------------- ------------------------------------------------------------------------------- Lifetime A timer that despawns the effect when the timer finishes. Delay A repeating timer","default_branch":null,"files":null,"tree":[],"storefront":"/r/AlephCubed","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AlephCubed/bevy_alchemy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}