DEKI/ENGINE 문서
deki-fsm 0.19.0
Deki 패키지 레퍼런스
deki-fsm

비주얼 상태 머신. 캔버스 위의 상태, 그룹, 전이와 각 상태 안의 액션 흐름.

저장소: github.com/dekiengine/deki-fsm · 최신 릴리스: 0.19.0 · 엔진 0.19.0 이상 필요 · 의존: deki-nodegraph, deki-2d, deki-tween

DekiEditor --packages-add deki-fsm <project> 또는 패키지 관리자로 설치합니다. 엔진 자체의 컴포넌트와 C++ API는 Deki 문서에 있습니다.

에디터에는 FSM(으)로 표시됩니다.

컴포넌트

컴포넌트 카테고리 설명
FsmComponent 로직 이 오브젝트에서 상태 머신 그래프 에셋을 실행합니다.

기능 플래그

빌드에서 뺄 수 있는 부분입니다. define이 있는 기능은 그 define으로 켜고 끄며, 나머지는 컴포넌트와 함께 제거됩니다.

기능 define 기본값
FSM DEKI_FEATURE_FSM 켜짐

컴포넌트 레퍼런스

FsmComponent

이 오브젝트에서 상태 머신 그래프 에셋을 실행합니다.

인스펙터 이름: FSM 컴포넌트 · 카테고리: 로직 · 유형: DekiFsm::FsmComponent

속성 유형 기본값 설명
graph AssetRef (FsmGraph) "" 이 오브젝트가 실행하는 상태 머신 에셋입니다. 노드 그래프 에디터에서 만듭니다.
variableOverrides Array<string> [] 그래프 변수에 대한 이 오브젝트만의 시작 값으로, name=value 형식으로 씁니다(예: speedHz=0.625).

변경 내역

변경 내역은 영어로 되어 있습니다.

0.19.0

Changed

  • minEngine 0.19.0: built against engine 0.19.0, whose component metadata records the package each class is in. A build of this package from before does not load and is rebuilt.

Added

  • Japanese, Simplified Chinese and Korean: editor/lang/ja.json, zh.json and ko.json translate the names, tooltips and enum values this package's components show in the Inspector.
  • The package's editor text goes through the editor's translation (Tr), so it shows in the editor's language. Needs the editor release that adds Localization.h; raise minEngine to it when releasing.

0.18.2

Fixed

  • Timed actions keep time when frames are long or uneven. An action that finished part way through a frame let the next one in the flow start with the whole frame again, so a flow gained time at each step, and a long frame (a scene loading, a screenshot sent from the board) moved each machine on by a different amount: the logic demo's orbs, started a phase apart, bunched up. A finished Wait, Tween Property or delayed Send Event now passes on only the time it did not use, and one frame counts as at most a second.

이전 릴리스: CHANGELOG.md


패키지의 리플렉션 데이터에서 생성했습니다(엔진 0.19.0). 속성 이름은 씬 파일에서 쓰는 키입니다. 이름을 바꿔도 별칭이 유지됩니다(호환성).