How can I make a dialog engine?

Non-platform specific questions.

How can I make a dialog engine?

Postby SuperSonic » Thu Nov 10, 2011 6:28 pm

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
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Fri Nov 11, 2011 6:02 pm

Please is there any one out there who can help me? :(
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby Jagmaster » Fri Nov 11, 2011 8:28 pm

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 <<
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Fri Nov 11, 2011 8:36 pm

Thank you so much Jag. This will help :D

And +1 :wink:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby Jagmaster » Fri Nov 11, 2011 8:42 pm

Hey, +1 lcl,not me! :twisted:
And Uh, you're welcome. :D

Edit: the scary face was kinda harsh. Sorry. XDD
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Fri Nov 11, 2011 8:52 pm

Jagmaster wrote:Hey, +1 lcl,not me! :twisted:

Oh yeah, I'll +1 him too haha :P
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby lcl » Fri Nov 11, 2011 8:56 pm

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 -
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Fri Nov 11, 2011 9:09 pm

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
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby lcl » Sat Nov 12, 2011 8:28 am

Great! :)
I can start helping you after a few days when I'm back at home.
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Sat Nov 12, 2011 1:24 pm

Awsome, you can send me a pm when you are ready to help :P
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score

Re: How can I make a dialog engine?

Postby lcl » Sun Nov 13, 2011 3:05 pm

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?)

:)
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: How can I make a dialog engine?

Postby SuperSonic » Sun Nov 13, 2011 3:15 pm

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:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest