Flame Behaviors wendet die Trennung von Anliegen in der Spiellogik in Form von Entitäten und Verhaltensweisen an, ursprünglich entwickelt von Very Good Ventures.
Aus öffentlichen Paketdaten erstellte Orientierung.
Flame Behaviors ist ein Flutter/Dart-Paket, das eine saubere Spielarchitektur fördert, indem die Spiellogik in wiederverwendbare, modulare Komponenten namens Behaviors aufgeteilt wird. Es ermöglicht Entwicklern, Verhaltensweisen an Entitäten anzuhängen, was einen flexiblen und wartbaren Spielentwicklungsprozess unterstützt. Ursprünglich von Very Good Ventures erstellt, integriert es sich nahtlos in die Flame-Spielengine und unterstützt mehrere Plattformen wie Android, iOS, Web, macOS, Windows und Linux. Dieser Ansatz verbessert die Wiederverwendbarkeit des Codes und vereinfacht komplexe Interaktionen innerhalb von Spielen.
Anwendungsfälle
Modulares Spielkomponentendesign
Logik über Entitäten hinweg wiederverwenden
Trennen von Anliegen in Spiel-Systemen
Skalierbare Spielarchitekturen aufbauen
Verwaltung von Entitätsinteraktionen
Erstellung dynamischer Gameplay-Mechaniken
Hauptmerkmale
Verhalten an Entitäten anhängen
Unterstützt Zusammensetzung anstelle von Vererbung
Ermöglicht wiederverwendbare Logik
Integriert sich mit dem Flame-Engine
Platform-agnostic
Klare Trennung von Verantwortlichkeiten
Geeignet für
Spielenentwickler, die den Flame-Engine verwenden
Teams, die wartbaren Code priorisieren
Projekte, die modulare Spiellogik erfordern
Entwickler, die komplexe interaktive Systeme erstellen
Diejenigen, die saubere Architekturmuster übernehmen
Hinweise
Erfahrung mit dem Flame-Engine erforderlich
Am besten in größeren Projekten verwendet
Kann Komplexität für einfache Spiele hinzufügen
Abhängig von der ordnungsgemäßen Lebenszyklusverwaltung des Verhaltens
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
API Reference - The generated dartdoc API
reference.
awesome-flame - A curated list of Tutorials,
Games, Libraries and Articles.
Help
There is a Flame community on Blue Fire's Discord server where you
can ask any of your Flame related questions.
If you are more comfortable with StackOverflow, you can also create a question there. Add the
Flame tag, to make sure that anyone following
the tag can help out.
Features
The goal of the Flame Engine is to provide a complete set of out-of-the-way solutions for common
problems that games developed with Flutter might share.
Some of the key features provided are:
A game loop.
A component/object system (FCS).
Effects and particles.
Collision detection.
Gesture and input handling.
Images, animations, sprites, and sprite sheets.
General utilities to make development easier.
On top of those features, you can augment Flame with bridge packages. Through these libraries,
you will be able to access bindings to other packages, including custom Flame components and
helpers, in order to make integrations seamless.
Flame officially provides bridge libraries to the following packages:
Do you or your company want to sponsor Flame?
Check out our OpenCollective page, which is also mentioned
in the section below, or contact us on Discord.
Support
The simplest way to show us your support is by giving the project a star! :star:
You can also support us monetarily by donating through OpenCollective:
Through GitHub Sponsors:
Or by becoming a patron on Patreon:
You can also show on your repository that your game is made with Flame by using one of the following
badges:
[](https://flame-engine.org)
[](https://flame-engine.org)
[](https://flame-engine.org)
Contributing
Have you found a bug or have a suggestion of how to enhance Flame? Open an issue and we will take a
look at it as soon as possible.
Do you want to contribute with a PR? PRs are always welcome, just make sure to create it from the
correct branch (main) and follow the checklist which will
appear when you open the PR.
For bigger changes, or if in doubt, make sure to talk about your contribution to the team. Either
via an issue, GitHub discussion, or reach out to the team either using the
Discord server.
Credits
The Blue Fire team, who are continuously
working on maintaining and improving Flame and its ecosystem.
All the friendly contributors and people who are helping out in the community.