PlayMaker News > General Discussion

Dialogue System

(1/3) > >>

ZeroSigma:
Is it possible to do a complex dialogue system in playMaker? Can it handle logical branching? Example can the FSM execute a logical statement and according to the result move to a new state; effectively choosing one that was attached to it?

jeanfabre:
Hi,

 This is actually where PlayMaker excels to be honest. logical branching becomes a brease because you can visually describe your dialog logic, AND as the game is running see where the logic goes, and debug it when paused ( stepping back in time logical steps to see from where a particular state transited to, etc etc)

bye,

 Jean

FractalCore:
If I could ask a follow up question. I'd like to try out a dialog system in Playmaker. The branching is the easy part, another question might be how would you store/display the actual text;

Playmaker strings?
GUI text?
text file?
some kind of script?
a sequence of images that have the text "baked in"?

These are ideas I've thought up but they're either hard to implement or not ideal. Is there a nice easy way that allows for big blocks of text that can be changed easily at any time? eg. GUI text will easily do one line of text but not multiple lines. As far as I know. As a non-programmer :)

jeanfabre:
Hi,

 All text, assets can be stored using ArrayMaker or a Sqlite database framework ( yes, I am on the case, coming soon for playmaker :) )

You could also have it defined in XML ( I am also working on that) and then query using xpath to get to a reference for an asset or simply a string.

You can also do it all within the Fsm hardcoding the content their.

Do you have a use case so we can see how far you are willing to take this?
 
 bye,

 Jean

FractalCore:
Yeah, I thought a database would be the answer. Databases are one of those things I've heard are useful for games, but Unity doesn't come with one and there's some available but they aren't free. So I just haven't had a chance to experiment, and haven't committed enough to purchase... Excuses, in another words :)

I also want to try an inventory. I've thought of how I'd do a simple one with just a collection of Playmaker variables that I save. But I know, to do it right you need a database.

Navigation

[0] Message Index

[#] Next page

Go to full version