Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Displaying a dialog box before the game starts
I want the player to be able to enter his name and i thoght the best way would be to display a dialog box right before the game starts that takes the player name. The problem is the order of the code:
initiate direct x
enter message loop
this means that when the game is in the message loop dx has already taken over the system. How do i make it display the dialog box and then enter dx as soon as the name i recieved?
0 · ·