Back to Flame

flame_behaviors

packages/flame_behaviors/README.md

1.37.02.3 KB
Original Source
<!-- markdownlint-disable MD013 --> <p align="center"> <a href="https://flame-engine.org"> </a> </p> <p align="center"> Flame Behaviors applies separation of concerns to game logic in the form of Entities and Behaviors. </p> <p align="center"> <a title="Pub" href="https://pub.dev/packages/flame_behaviors" ></a> <a title="Test" href="https://github.com/flame-engine/flame/actions?query=workflow%3Acicd+branch%3Amain"></a> <a title="Discord" href="https://discord.gg/pxrBmy4"></a> <a title="Melos" href="https://github.com/invertase/melos"></a> </p>
<!-- markdownlint-enable MD013 --> <!-- markdownlint-disable-next-line MD002 -->

flame_behaviors

Flame Behaviors applies separation of concerns to game logic in the form of Entities and Behaviors.

Developed with 💙 and 🔥 by Very Good Ventures 🦄


Quick Start 🚀

Installing 🧑‍💻

In order to use Flame Behaviors you must have the Flame package added to your project.

Note: Flame Behaviors requires Flame ">=1.10.0 <2.0.0"

Adding the package

shell
# 📦 Install the flame_behaviors package from pub.dev
flutter pub add flame_behaviors

Creating Entities and Behaviors

Use Flame Behaviors to define your entities in your game and their behavioral aspects. Or follow the Introduction to Flame Behaviors article to get you familiar with the concepts!

Documentation 📝

View the full documentation.