Move the flame_studio debugging features to flame_devtools

オープン
#4,176 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
dart, flutter
領域
game-dev

調査の方向性

This is an umbrella proposal; its listed features are split into independent issues #4168–#4175. For context, inspect the prior implementation at commit 50f00635b in packages/flame_studio and compare it with flame_devtools; start with one of the linked child issues. Done means the selected feature is available in flame_devtools; issue #4175 additionally needs a design decision.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Problem to solve

flame_studio and flame_devtools have grown into two separate debugging tools for running Flame games. They overlap on game loop controls, the component tree, debug mode and transform editing, so features end up split between them.

flame_devtools is the better home: it ships with flame, needs no change to how a game is started, and already has features flame_studio lacks, such as component snapshots, the image cache panel, overlay controls and the behavior tree viewer.

Proposal

Move what flame_studio has and flame_devtools doesn't into flame_devtools. The issues below can be worked on independently.

Small

  • #4168 Anchor picker
  • #4169 Rendering properties (visibility and opacity)
  • #4170 TextComponent text
  • #4171 Component lifecycle state

Medium

  • #4172 Number editing (degrees, drag-to-scrub, tooltips)
  • #4173 Live updates
  • #4174 Extensible component inspectors

Large

  • #4175 Viewport tools (select, move, rotate, scale), which needs a design decision first
Feature comparison
Feature flame_studio flame_devtools
Pause and resume Yes Yes
Step frame Fixed 1/60 s Custom step time, forward and backward
Component tree Live Manual refresh
Priority, position, size, scale, angle Yes Yes
Debug mode Always the subtree One component or the whole game
Anchor, visibility, opacity, text, lifecycle state Yes No
Pluggable inspectors Yes No
Select and transform in the game view Yes No
Snapshots, image cache, overlays, behavior trees No Yes
More information

The current flame_studio code is going to be replaced by a different tool, so the issues describe the behavior directly rather than linking to source files. Its last state before that change can be found at commit 50f00635b, in packages/flame_studio.

Closes: #2319

主要言語
Dart
スター
10.8k
フォーク
1.1k
平均マージ
1日 21時間
マージ済み PR(30日)
53

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flame-engine/flame のほかの issue

flame-engine/flame の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。