Giter VIP home page Giter VIP logo

dialogue-graph-editor's Introduction

Dialogue Graph Editor for Unity

Dialogue Graph Editor is a simple tool and dialogue system for Unity that allows you to:

  • edit dialogue graphs visually
  • display the dialogues at runtime
  • create actors with several expressions
  • easily move created assets around

Installation

To use the system in your project, download and import DialogueSystem.unitypackage.
The whole project also contains these dependencies, which are needed to display the dialogues at runtime:

  • LeanTween (tested v2.50) (link)
  • TextMeshPro (tested v3.0.1)

Tested in Unity 2020.2.3f1 and 2020.3.8f1.

Content

  • Runtime
    • data - structures for dialogues, nodes, actors
    • logic - controls the dialogues' flow
    • view - displays dialogue in-game
  • Editor
    • Graph Editor - edit dialogue graphs
    • Node Editor - edit sentences and responses
  • Examples
    • test scene with a sample dialogue
    • basic adjustable UI setup
    • other example assets

Where to begin

  • create a Dialogue [RMB > Create > DialogueSystem > Dialogue]
  • create an Actor [RMB > Create > DialogueSystem > Actor]
  • open the Graph Editor tool [Tools > DialogueSystem > Graph Editor]
  • open the Node Editor tool [Tools > DialogueSystem > Node Editor]

You can also open the editor tools by selecting a dialogue and clicking "Edit".

How to use the Graph Editor

  • LMB - select nodes, drag nodes, move the whole sheet around
  • RMB - create connections (click on one node, then another)
  • Scroll wheel / slider - zoom in and out
  • green (+) button - add a a node
  • red (-) button - remove the selected node
  • reset (R) button - reset graph position and zoom

How to test

Open the example scene (DialogueSystem > Examples > Example Scene), run and press T to start the dialogue.

dialogue-graph-editor's People

Contributors

thejoun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.