パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.4.0

flame_behaviors

Flame Behaviors は、エンティティと行動の形でゲームロジックの関心事の分離を適用しており、元々 Very Good Ventures によって構築されました。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
3060
いいね数
34
Pub ポイント
160

パッケージをインストール

flutter pub add flame_behaviors

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flame Behaviors は、ゲームロジックを再利用可能でモジュール化されたコンポーネント(Behaviors と呼ばれる)に分離することで、クリーンなゲームアーキテクチャを促進する Flutter/Dart パッケージです。開発者はエンティティに行動をアタッチでき、柔軟かつ保守しやすいゲーム開発を実現します。元々 Very Good Ventures によって作成され、Flame ゲームエンジンとシームレスに統合されており、Android、iOS、Web、macOS、Windows、Linux など複数のプラットフォームをサポートしています。このアプローチによりコードの再利用性が向上し、ゲーム内の複雑な相互作用を簡素化できます。

用途

  • モジュール式ゲームコンポーネント設計
  • エンティティ間で論理を再利用する
  • ゲームシステムにおける関心事の分離
  • スケーラブルなゲームアーキテクチャの構築
  • エンティティの相互作用の管理
  • ダイナミックなゲームメカニクスの作成

主な機能

  • エンティティに行動を関連付ける
  • 継承よりもコンポジションをサポートします
  • 再利用可能な論理を促進する
  • Flameエンジンと統合
  • Platform-agnostic
  • 関心事の明確な分離

適している対象

  • Flameエンジンを使用するゲーム開発者
  • 保守可能なコードを重視するチーム
  • モジュール型ゲームロジックを必要とするプロジェクト
  • 複雑なインタラクティブシステムを構築している開発者
  • クリーンアーキテクチャパターンを採用する者

注意事項

  • Flame エンジンに精通している必要があります
  • 大規模なプロジェクトで最も効果的です
  • シンプルなゲームに複雑さを加える可能性があります
  • 適切な動作ライフサイクル管理に依存する

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Flutter favorite

flame

A Flutter-based game engine.


Documentation

The full documentation for Flame can be found on docs.flame-engine.org.

To change the version of the documentation, use the version selector noted with version: in the top of the page.

Note: The documentation that resides in the main branch is newer than the released documentation on the docs website.

Other useful links:

  • The official Flame site.
  • Examples of most features which can be tried out from your browser.
    • To access the code for each example, press the < > button in the top right corner.
  • Tutorials - Some simple tutorials to get started.
  • 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:

Sponsors

The Flame Engine's top sponsors:

Invertase

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:

Powered by Flame Powered by Flame Powered by Flame

[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=flat-square)](https://flame-engine.org)
[![Powered by Flame](https://img.shields.io/badge/Powered%20by-%F0%9F%94%A5-272727.svg?style=for-the-badge)](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.

Also, before you start, make sure to read our Contributing Guide.

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.

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト