• Advertisement
Sign in to follow this  

get players name

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

What is the best way to get a players name in a windows program. I am using directx 8.1, visual c++ Thanks

Share this post


Link to post
Share on other sites
Advertisement
The quickest and dirtiest way is to throw up a Dialog with a TextEdit control in it. Otherwise, you'll need to use a GUI library within your game to do a similar thing.

Share this post


Link to post
Share on other sites
That is unless you have that information roaming around in a file or class somewhere and then you would just poll the "object" (assuming OOP) for the information or read the file for the information (such as the character's file containing the player's name). But this way assumes previous setup.

Share this post


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

  • Advertisement