Hi Al,

Ah, yes. That will do it alright. You need to keep in mind these are
text based games from the 90's designed for Dos not Windows. That's
why things like the arrow keys do not work because they didn't have
things like DirectInput for dos and it was difficult to write
applications that used keys that didn't map to a simple ASCII keycode.
The cin function in C++, which I suspect they are using, can only
accept input from letters, numbers, and symbols like plus, minus,
divide, and so on. Keys like the arrow keys, home, end, page up, page
down, and so on don't have a specific keycode and require a much more
complex input handling system than I suspect the developers were
willing to write for games like Piledriver and Wrestling League
Simulator. That's pretty par for text games though.

For example, even in my own wrestling game you can't use the arrow
keys for accessing the menus because its a text based game using the
print function and raw_input function in Python for displaying text
and handling input. I wrote it that way to run on Windows, Linux, and
Mac without having to add a bunch of extra stuff like Sapi support,
SDL input, blah, blah, blah just to make a quick and simple wrestling
game like Piledriver or Wrestling League Simulator. Although, I could
have if I was really seriously interested in doing so.

Cheers!


On 8/26/13, Allan Thompson <[email protected]> wrote:
> Hi Tom,
> Yep, your right. I hit the arrow keys and it kind of messes up the program
> causing it to loop like that.
> Thanks!
> al

---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].

Reply via email to