Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 19, 2013, 02:45:31 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9223
Posts in
2230
Topics by
5381
Members
Latest Member:
Chett
Crystal Space
Crystal Space Development
Support
Capturing input and displaying it back to the user...
« previous
next »
Pages:
[
1
]
Author
Topic: Capturing input and displaying it back to the user... (Read 1450 times)
willjm
Newbie
Posts: 39
Capturing input and displaying it back to the user...
«
on:
April 09, 2006, 11:44:10 pm »
I'm looking to do something similar to Quake Arena or Unreal Tournament for communication between players. I would like to be able to have a user hit the 't' key and allow them to input text and then display it when the user presses Enter. My question is, do I have to use the iConsoleInput and iConsoleOutput to create my prompt or is there another way of doing this that doesn't include me opening up the console for the user? Maybe I need to make two console objects. One to take regular console commands and the other for communication. I know I could use the CS_REPORTER_SEVERITY_NOTIFY flag if I really had to leverage it to display text; however, that doesn't provide me with a way to capture text. Also, if I have to use the console, is there a way to reposition the console on the screen so it's not always in the upper left corner? Potentially even display a box with an alpha channel behind it programmatically instead of using a csSimplePixmap?
thanks,
- willjm
Logged
allpowerful32
Jr. Member
Posts: 62
Re: Capturing input and displaying it back to the user...
«
Reply #1 on:
April 11, 2006, 02:09:07 am »
Don't try to use the console for that. Use the AWS or CEGUI textbox objects (or ones with similar functions). This will make the whole thing much nicer.
Logged
willjm
Newbie
Posts: 39
Re: Capturing input and displaying it back to the user...
«
Reply #2 on:
April 18, 2006, 05:11:15 am »
I think that's a bit more than I can chew on for the moment. Thanks for the suggestion though.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...