Skip to main content
gamedev.net
🔒 Locked

Help! User Input Problem!

Started by webmunkey 0 replies 450+ views
Original Post
webmunkey
webmunkey
Hello, Okay, I have a tile based game and I want to basically create a console type box inside the game where the user can type input into such as his or her name, etc, etc... The program runs in Direct Draw, and I for some reason can''t think of where to begin on something like this... I basically want to have the user be able to interact with the game, but be able to type at the same time and have the user see his typing in real-time (with the backspace key implemented) and then when the user presses enter the string is then stored in a variable. Any ideas, input or code snippetts or anything would be welcomed...Thanks, -Jesse
greymaukin
greymaukin
could you use gets()?
i use it like mad in consol games.. but... could you use it while in a win32??
Even a broken clock is right twice a day.Grey

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.