Page 1 of 1

Dialog Engine for RPG or Platformer

PostPosted: Thu Oct 07, 2010 4:02 pm
by Bee-Ant
I know there're so many dialog engines in this forum...
But mostly they're too advanced and with no clear or understandable description.
I can't guarantee this is understandable though, but I have tried my best to make it simpler and easy to learn. Especially for newbie...
Available features:
- Typewriter text dialog (scrolling text effect)
- Enable/Disable player's control on dialog inactive/active
- Random dialog generation
- Easy to add more dialogs

http://dl.dropbox.com/u/3997355/DialogDemo.zip

Enjoy :D

Re: Dialog Engine for RPG or Platformer

PostPosted: Tue Mar 08, 2011 1:25 pm
by Lexcondran
sounds promising bee-ant :D

Re: Dialog Engine for RPG or Platformer

PostPosted: Wed Mar 09, 2011 12:14 am
by Hblade
Amazing dude!! :D Such short code too! :)

Re: Dialog Engine for RPG or Platformer

PostPosted: Fri Jul 15, 2011 5:20 pm
by sunnybubblegum
Hi there. I'm having difficulty customizing the dialog engine for my game, as I'm quite new to coding. I don't know how to make the dialogue become no longer random, and to be able to call upon the phrases I need when I need them. I tried putting a number after a part of the code (i.e. "[0]") which *sort of* worked, but the character kept repeating the same thing 3 or 4 times.

Is there a simple enough way to do this?

Thank you in advance!

Re: Dialog Engine for RPG or Platformer

PostPosted: Sun Jul 17, 2011 12:58 pm
by GrimmDingo
Hey i can help, i messed around with bee ants demo and fixed the problems you have, i also had chests that dispense currency when opened using the dialog window to inform you and also there was a skill check on a chest so you needed a certain lockpick skill to open it, anyway i'll zip it and upload it soon as i'm on pc and hope it's helpful



edit: okay here's the edited dialogdemo, it should help you get what you want, i did it a fair while ago, ignore the art it was rushed and mainly just to replace that lame default graphic, the [ and ] keys increase and decrease the lockpick skill, i think it is 7 you need to unlock the chest on the right, you can freely use all the additional code, and this is targetted at all who download avoid stealing the graphics, maybe if you want to use the tiles i'll allow if you ask me first, because i doubt i'll actually use them myself, but those chests are a no go.

Re: Dialog Engine for RPG or Platformer

PostPosted: Mon Jul 18, 2011 3:58 pm
by sunnybubblegum
This is great! It's just what I was hoping to do. I've now given dialogue to two non-playable characters, and I'll likely be setting up the chest and credit system shortly. Awesome! I'm very grateful.

Re: Dialog Engine for RPG or Platformer

PostPosted: Fri Aug 05, 2011 1:36 pm
by sunnybubblegum
I just had a few questions regarding Grimm's dialog engine modification. Accepting answers from anybody in case Grimm happens to be unavailable.

How would I make a character's dialogue span across more than one dialog box? (i.e. when too long for one box)
Box 1: "There was once a man who lived upon this rock who never slept. In fact, they say he never even blinked!"
Box 2: "Such a man must be none other than a great wizard. Yet he was a recluse, and so remained largely a mystery."
Box 3: "One day the man disappeared, and has never been seen since. But the legend of the sleepless man lives on!"

How would I disable all player input while a dialog box is open, other than the button for advancing the dialogue? I would like to disable walking while a dialog box is open.

Thanks in advance!