StoryFlow
← Retour aux projets
Outil

StoryFlow

Développeur Unity

Présentation

StoryFlow est un système de graphes narratifs data-driven qui contrôle le flux d'histoire via des nœuds, conditions et choix. Le runtime est un ScriptableObject contenant uniquement les données utiles des nœuds.

Systèmes intégrés

  • Quêtes
  • Inventaire : items en ScriptableObjects, équipables, influençant les stats
  • Relations : entités (personnages et factions), dirigent les interactions
  • Game State : registre de bools/ints, flags en ScriptableObjects, traduits en dictionnaires à runtime
  • Stats

Architecture

Éditeur : StoryGraph (hérite Graph Toolkit) → Nodes (Dialogue, Choice, Conditions, Effects, Subgraph) → StoryImporter

Runtime : ScriptableObject → Executors → StoryDirector

APIs utilisées

  • Graph Toolkit

Galerie

Roll a dice and evaluate a skill before branching according to the result.Modular condition node that offers branching according to the result.Branch node according to a choice designed in editor.Modular effect node where a multiple of blocks can be added. For now, only system related effects exist : quest, inventory, relation and such.Node that enables depth. It allows independent, reusable design and makes to tool easier to work with. Designers are encouraged to split their scenes in smaller pieces to manage complexity and branching.Flow exemple using most of the existing nodes.