GithubHelp home page GithubHelp logo

solazdev / basicdialoguemanager Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 21 KB

Based on EasyDialogue, implemented for UI, and argument system for voice acting, sound effects and multiple animations

C# 100.00%

basicdialoguemanager's Introduction

MOVED

This project has been merged into NeoEasyDialogue as the sample CutSceneManager. This was done to not only because NeoEasyDialogue is slowly growing into a more flexible tool which has changed some of the original EasyDialogue's ways making the original not exactly the best option, but this was also done to provide a working tool that can be expanded upon.

If NeoEasyDialogue is for some reason taken down (example; by request of the original author) commits will be published here, but it'd fall back to the old variables and the added features (like JSON export and import) would either reworked orremoved.

BasicDialogueManager

Yet Another Open Source Dialogue Manager, depends on EasyDialogue. This expands on the capabilities of said project, originally to create Persona Q-esque dialogue scenes. This takes advantage of EasyDialogue's userData string which allows you to add your own extras to your dialogue nodes. This script adds support for sounds, multiple animations and voice acting (or another sound).

###Usage The userData string is originally left for you to use as you desire. This can be used to compare values or virtually anything else. The script uses this variable as an array of arguments, processing them in order. So each node can play sounds, and as many animations as desired, as of this writing.

Commands/Arguments List

//Animation
a_(actor ID in array)_(trigger/bool true/bool false/disable/enable)_(animator variable name)

//Sounds,everything but clip name is optional
s_(clip name)(_(volume)_(pitch)_(stereo panning))

//voiced lines, it uses the Speaker/Talker's name as refference
v_(clip name)

//Moving. Use N to leave the axis as is.
m_(actor ID in array)_(X/N)_(Y/N)_(Z/N)

//Rotation (Set), use N to leave axis as is
r_(actor ID in array)_(X/N)_(Y/N)_(Z/N)

//Look at
l_(actor ID in array)_(actor ID to look at)

//play a song
b_(song name)

//stop bgm
sb

//stop sound
ss

//stop a voiced line
ls

//Fading, Flashing only if using a panel to fade
fadein
fadeout
flash

Note that this uses Resource.Load(path+name) to load any files.

Example: Speaker are "Jack" and "Link", and their animators are

Dialogue 1: Link: Yes!! a_1_0_victory1 v_victory1 s_win

Dialogue 2: Jack: Now we need to get it working... a_0_0_nod v_getworking

Result: Link's animator component sets the triger "Victory1", plays the voiced line (found in "Audio/Voice/Link/victory1") and plays a victory sound (found in "Audio/Sound/win"), followed by Jack's animator triggering "nod" and playing his voiced line.

##TODO

  • Fix bugs, reduce errors (if file's not found, then ignore it all)
  • Add applied rotaion
  • Add Cinemachine/Timeline arguemnt
  • Possibly a function finder

basicdialoguemanager's People

Contributors

solazdev avatar

Watchers

 avatar  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.