搜尋套件、儲存庫與 APP 分類

套件詳情v0.20.0

flame_forge2d

Forge2D(Box2D)支援 Flame 遊戲引擎。此包使用 forge2d 套件,並提供可在 Flame 中使用的包裝器與組件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
3610
喜歡數
82
Pub 分數
160

安裝套件

flutter pub add flame_forge2d

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

FlameForage2D 為 Flame 遊戲引擎提供 Box2D 物理整合,利用 forge2d 庫實現 2D 物理模擬。它提供直覺的封裝與元件,可無縫整合至 Flame 的架構中,讓開發者能創造真實的物理遊戲玩法。該套件支援所有主要平台,包含行動裝置、網頁與桌面端,非常適合需要精確碰撞偵測、力量、關節與剛體動力學的跨平台 2D 遊戲。僅需少量設定,即可提升 Flame 在複雜物理互動方面的功能。

適用情境

  • 具有真實移動效果的2D平台遊戲
  • 基於物理的益智遊戲
  • 帶有動態物件的模擬
  • 需要精確碰撞處理的遊戲
  • 互動物理實驗

主要特色

  • 透過 forge2d 的 Box2D 物理引擎
  • 無縫整合火焰
  • 跨平台支援
  • 剛體和關節組件
  • 碰撞事件處理

適合對象

  • 使用 Flame 開發 2D 遊戲的開發者
  • 需要精確2D物理的項目
  • 遊戲創作者專注於真實感和互動性
  • 團隊正在構建跨平台遊戲

使用建議

  • 需要理解Box2D概念
  • 由於物理庫的關係,可能會增加應用大小
  • 性能取決於物理複雜性
  • 不適用於3D遊戲

原始 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.

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案