an RPG dialog system, what widgets?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
rogerdv
Quite a regular
Quite a regular
Posts: 62
Joined: Thu Mar 31, 2005 23:21
Contact:

an RPG dialog system, what widgets?

Postby rogerdv » Sat Jan 31, 2009 13:45

Currently Im implementing the dialog system for my RPG. It is a very traditional system: a text for the NPC phrase and a few possible replies (1-3 lines of text). The NPC line is simply a text, but I dont know whats the best widget to use for the player choices. They must be clicked, so, I dont know if an StaticText works, thought about buttons, but that would look really ugly.
Any other option?

User avatar
jacmoe
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark
Contact:

Postby jacmoe » Sat Jan 31, 2009 14:18

Totally transparent buttons will surely work. :)

User avatar
rogerdv
Quite a regular
Quite a regular
Posts: 62
Joined: Thu Mar 31, 2005 23:21
Contact:

Postby rogerdv » Sat Jan 31, 2009 16:47

You mean an StaticText on top of a transparent button? Sounds good.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sat Jan 31, 2009 20:31

Using a static text on a button might be a little bit of overkill - you can get the same effect by using a customised button skin that does no rendering other than the text label.

Alternatively to a Button, you might also be able to get something working via a listbox of some kind - probably without the frame, so it does not look like a list box - the list entries would form your dialogue choices. Just another option to consider :)

CE.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Wed Feb 04, 2009 11:04

With that listbox option, you could even make keyboard navigation easily.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 25 guests