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

套件詳情v2.3.1

flame_test

一個包含協助測試使用 Flame 的應用程式的類別的套件

AndroidiOSmacOSWindowsLinux
近 30 天下載
2.2萬
喜歡數
7
Pub 分數
160

安裝套件

flutter pub add flame_test

套件介紹

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

flame_test 是一個用於 Flutter/Dart 的套件,旨在簡化使用 Flame 遊戲引擎建構應用程式的測試。它提供實用類別與輔助工具,讓開發者能夠為遊戲邏輯、元件與系統撰寫單元測試與整合測試。此套件支援在 Android、iOS、macOS、Windows 與 Linux 等多個平台進行測試,確保測試環境中行為的一致性。透過 flame_test,開發者可模擬遊戲迴圈、管理非同步操作,並在無需完整執行環境的情況下驗證遊戲內的互動。

適用情境

  • 測試遊戲邏輯和狀態轉換
  • 驗證組件在隔離狀態下的行為
  • 模擬遊戲迴圈執行
  • 驗證物理和碰撞檢測
  • 測試輸入處理和事件回應

主要特色

  • Flame 組件的內建測試輔助工具
  • 支援使用遊戲迴圈模擬進行非同步測試
  • 跨平台測試相容性
  • 與 Dart 測試框架整合
  • 遊戲上下文與服務的模擬

適合對象

  • 火焰遊戲開發者
  • 團隊在實踐測試驅動開發
  • 需要可靠回歸測試的項目
  • 開發人員為遊戲機制編寫單元測試
  • 那些希望透過自動化測試來提升程式碼品質的人

使用建議

  • 需要熟悉 Flame 引擎概念
  • 可能需要為複雜遊戲場景進行額外設定
  • 僅限基於火焰的應用程式
  • 測試覆蓋率取決於全面的測試設計
  • 不適用於UI或視覺渲染測試

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

所屬分類

依賴

依賴清單 5 項

原始碼儲存庫

使用此套件的專案