Answer box in game

Problems building or running the engine, queries about how to use features etc.
User avatar
Kristian
Hobgoblin
Posts: 542
Joined: Sun Jan 12, 2003 7:35 pm
Location: Copenhagen, Denmark

Post by Kristian »

Ogre doesnt haven any mechanisms for handling gui it only has some very lightweight input handled which you could use alongside the overlays but you manually have to relay the input to the textfield. this should be to hard.

You could also utilise the cegui libery, it can draw and manage advanced gui logic and there's some ogre bindings avalible for it also. plus its quite lightweight to and pretty easy getting used to, people seem to be really fond of it around here.
Kristian, crying out loud: "If it works. Don't fix it!" :p
HCA
HCA2
GuppyLife
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67

Post by sinbad »

Seems to me that Demo_GUI would be a good place to start looking...
User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2

Post by pjcast »

In the precompiled download area. THough, you will want the source to actually know how it runs. So, you need the source distribution of Ogre. And it will be included in the demo apps.
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Post by jacmoe »

User avatar
pjcast
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 2543
Joined: Fri Oct 24, 2003 2:53 am
Location: San Diego, Ca
x 2

Post by pjcast »

The demo source is included in the Ogre source distro. You do not really need to build Ogre from source, just download the source so that you have all the demo sources. I do not think the SDK includes the demo sources.

The demos will be in ogrenew/samples directory.
Have a question about Input? Video? WGE? Come on over... http://www.wreckedgames.com/forum/
klauss
Hobgoblin
Posts: 559
Joined: Wed Oct 19, 2005 4:57 pm
Location: LS87, Buenos Aires, República Argentina.

Post by klauss »

pjcast wrote:I do not think the SDK includes the demo sources.
As a matter of fact, it does.
Oíd mortales, el grito sagrado...
Hey! What is it with that that?
Wing Commander Universe
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67

Post by sinbad »

The specifics of using CEGui to make that interface are covered over at the CEGui site, www.cegui.org.uk . There's just a pretty strong link between CEGui and OGRE because we like each other's software (and we have some common developers ;)).
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67

Post by sinbad »

evil_sarah wrote:k great i'm gonna check out the api.
so it IS possible right to have a small gui box and the game running on the same screen? i mean the cegui doesn't act just like a "game menu screen" only right?
:)
Sure, CEGui is just another set of rendered objects - it can co-exist with anything else in OGRE.