Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

dario_s

Console á quake-style?

This topic is 5853 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im wondering if anyone knows how to make a console like the ones we find in quake and other 1st shooter games..? Im having trouble with this because the rendering is in a loop. Anyone?

Share this post


Link to post
Share on other sites
Advertisement
download the quake 2 source code. there are two files called console.h and console.c
of course it seems a bit confusing if you read it the first time, but if learn to understand how the q2 engine "works", it will give you the necessary information about creating a console.

q2 source code @ www.idsoftware.com

hope this is a little help

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
in the flipcode.com tutorials there is some info on this,
same at nate.scuzzy.net

good luck...

Share this post


Link to post
Share on other sites
I never tryed this but...
If you want to make a console you should first write the sub-code that exists in a edittext control...meaning that at every keyboard message write the caracter on the screen ...meaning to write about 1-2 lines of code for each key (especially Backspace and right and left).. if you`ve done that you just need to position the text...and make a quad 1/2 size of the window..or there is another way ?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
hehe, there are alot of ways and that one must be the worst
You could just use WM_KEYDOWN..

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!