Page 1 of 1

How can I make a dialog engine?

PostPosted: Thu Nov 10, 2011 6:28 pm
by SuperSonic
Hello everybody :P

So right now I'm working on a rpg/action/space exploration game. Anyways, I would like to have a dialog engine built into it so that I can make messages and such appear on the screen. The only problem is that I have no clue where to start. I have downloaded Pyrometal's dialog 3 demo and I looked through the code but none of it makes any sense. So if any of you guys could teach me step by step how to make one, I would be eternally greatfull :D

I would like the engine to work much like Pyrometal's. This is what I want:
1. I want it to be able to load external files to display.
2. I want it to have oporators (like \n for new line or \h for highlight or &name to change who is speaking)
3. And finally, I want it to be able to be able to display options like 'yes' or 'no' or 'buy' etc
*edit: Oh yeah, I forgot, I would also like scrolling text if you know what I mean :wink:

Can any of you help me? (I'll give points) :roll:

Thanks in advance
-Sonic

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 6:02 pm
by SuperSonic
Please is there any one out there who can help me? :(

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 8:28 pm
by Jagmaster
I'm not the one to ask, but you could take a look at lcl's Colored text function That might be a good place to start.

>> http://game-editor.com/forum/viewtopic.php?f=6&t=10379 <<

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 8:36 pm
by SuperSonic
Thank you so much Jag. This will help :D

And +1 :wink:

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 8:42 pm
by Jagmaster
Hey, +1 lcl,not me! :twisted:
And Uh, you're welcome. :D

Edit: the scary face was kinda harsh. Sorry. XDD

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 8:52 pm
by SuperSonic
Jagmaster wrote:Hey, +1 lcl,not me! :twisted:

Oh yeah, I'll +1 him too haha :P

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 8:56 pm
by lcl
SuperSonic wrote:
Jagmaster wrote:Hey, +1 lcl,not me! :twisted:

Oh yeah, I'll +1 him too haha :P

:lol:

Hey SuperSonic, I can help you with this. But it means I'm not gonna offer you a ready system, but more likely help you to make one yourself. If you're interested in help like that. :wink:

- lcl -

Re: How can I make a dialog engine?

PostPosted: Fri Nov 11, 2011 9:09 pm
by SuperSonic
lcl wrote:Hey SuperSonic, I can help you with this. But it means I'm not gonna offer you a ready system, but more likely help you to make one yourself. If you're interested in help like that. :wink:

That is exactly what I was wanting. I just need someone to teach me how to make one. So yes, if you have the time could you help me? :D

Re: How can I make a dialog engine?

PostPosted: Sat Nov 12, 2011 8:28 am
by lcl
Great! :)
I can start helping you after a few days when I'm back at home.

Re: How can I make a dialog engine?

PostPosted: Sat Nov 12, 2011 1:24 pm
by SuperSonic
Awsome, you can send me a pm when you are ready to help :P

Re: How can I make a dialog engine?

PostPosted: Sun Nov 13, 2011 3:05 pm
by lcl
I can probably start helping you tomorrow. :)
However, here's something you could start with: viewtopic.php?f=4&t=10848&p=74935#p74892
(In case you haven't read it already)
It will help you to understand the basics of global code. (You don't have that much experience of it, do you?)

:)

Re: How can I make a dialog engine?

PostPosted: Sun Nov 13, 2011 3:15 pm
by SuperSonic
I understand it pretty well but I'll still read through this thank you :D

And +1 for that text thing. It's very cool :wink: