Skip to main content
gamedev.net
🔒 Locked

:Cþ

Started by Wardrobeprogrammer Oct 10, 2001 at 11:44 AM 1 replies 250+ views
Original Post
Wardrobeprogrammer
Wardrobeprogrammer
hi. run in to a smaaall problem... the scanf() funktion isnt weary good to use in games as input funktion... right? i mean how funny would "snake" be if you would have to enter every step by scaning in one char([U]p, [D]own,[R]ight or [L]eft) at the time? i use djgpp/allegro/rhide. isnt there ANY better funktion for input then scanf() or readkey()??! Mvh Wardrobeprogrammer
"Att skita eller skitas? DET är frågan"-herman hedning
Oluseyi
Oluseyi
getch().
Ronin_54
Ronin_54
I just love getch()! I mean, there is no single command in DirectX that can be so great to use compared to getch()! That is, when you are limiting yourself to Snake or Tetirs is text mode :D Or rather, that''s the only time i used it... For dos programming...

Topic Locked

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

Sign in to reply to this topic.