Discussion:
Detecting keys in batch
(too old to reply)
Joey Lombardo
2022-09-03 21:49:41 UTC
Permalink
I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?
JJ
2022-09-03 23:27:25 UTC
Permalink
Post by Joey Lombardo
I am making a version of Pokemon in CMD. I want to detect key combos in it
and I don't know how. How do I?
You misunderstood what batch file can do.
Klaus Meinhard
2022-09-04 07:50:53 UTC
Permalink
Post by Joey Lombardo
I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?
Hi Joey,

that is difficult in CMD batch. If you absolutely want to use that type
of "language", go to the JP Software website and download TCC/LE. It is
free, and offers a superset of CMD.com's batch language with much
enhanced capabilities (see "Features" on the download page). I've done a
Tic-tac-toe with that.
--
Mit freundlichen Grüßen,

* Klaus Meinhard *
Kerr-Mudd, John
2022-09-04 09:09:49 UTC
Permalink
On Sat, 3 Sep 2022 14:49:41 -0700 (PDT)
Post by Joey Lombardo
I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?
You can Ask to make a Choice, but most key combos are not get-at-able
(word?), just the standard keys. So you might have to use e.g. WASD for
movement.
--
Bah, and indeed Humbug.
Joey Lombardo
2022-10-04 21:44:52 UTC
Permalink
Post by Kerr-Mudd, John
On Sat, 3 Sep 2022 14:49:41 -0700 (PDT)
Post by Joey Lombardo
I am making a version of Pokemon in CMD. I want to detect key combos in it and I don't know how. How do I?
You can Ask to make a Choice, but most key combos are not get-at-able
(word?), just the standard keys. So you might have to use e.g. WASD for
movement.
--
Bah, and indeed Humbug.
Klaus Meinhard
2022-10-09 14:21:08 UTC
Permalink
Windows 10S? Look for ways to change that to full Win 10.
--
Mit freundlichen Grüßen,

* Klaus Meinhard *
Loading...