Jump to content
  • Advertisement
Sign in to follow this  
Ronnie TRFC

Help with the console window

This topic is 3947 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

Hello, I'm making a very simple game in a 3D environment using a engine provided by my tutor. However there is a point in my game where the player needs to input text but the game engine does not support text input. Therefore i think i am going to have to use the console window for the player to enter text into. Is it possible to call up the console window when i require the player to enter the text; for the player to then enter the text which will do something and then for the console window to close. Hope that makes sense. Thanks in advance. Ronnie. EDIT: Sorry i forgot to add that i am working with Microsoft Visual Studio using C++.

Share this post


Link to post
Share on other sites
Advertisement
You can bring up a console window with AllocConsole() and destroy it with FreeConsole(). This won't help if your application is fullscreen, however.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!