Search found 5 matches

by thicks083
19 Aug 2014 08:48
Forum: DOS Batch Forum
Topic: Accepting Arrow-Key Input
Replies: 3
Views: 4009

Re: Accepting Arrow-Key Input

Squashman wrote:I believe this topic has already be covered on the forums. Just need to dig up the thread. Pretty sure it is not possible if I recall correctly.
viewtopic.php?p=34426


Ahh thank you so much! This seems pretty impractical, so I will try to figure something else out.
by thicks083
19 Aug 2014 08:05
Forum: DOS Batch Forum
Topic: Accepting Arrow-Key Input
Replies: 3
Views: 4009

Accepting Arrow-Key Input

Hello all. I am wondering if there is anyway to accept an arrow-key button press as input. I am creating a text-based fantasy-adventure game and I would like to use this for movement. For example: I'd like to have the user be able to hit the arrows (on the lower right side of the keyboard) for their...
by thicks083
30 May 2014 12:00
Forum: DOS Batch Forum
Topic: Creating a text-based adventure game
Replies: 4
Views: 4574

Re: Creating a text-based adventure game

Following up Squashman's CHOICE suggestion, I would change this section: :mainRoom echo; set /p directionChoice= What will you do? if %directionChoice% EQU L goto mainRoomLeft if %directionChoice% EQU R goto mainRoomRight if %directionChoice% EQU F goto mainRoomForward if %directionChoice% EQU B go...
by thicks083
29 May 2014 09:25
Forum: DOS Batch Forum
Topic: Creating a text-based adventure game
Replies: 4
Views: 4574

Re: Creating a text-based adventure game

goto mainRoom :mainRoom The goto isn't needed as the code underneath that label will be executed next regardless. I would change this if %directionChoice% EQU L goto mainRoomLeft to this style of coding for all your IF statements that are comparing strings. if /I "%directionChoice%"==&quo...
by thicks083
29 May 2014 08:49
Forum: DOS Batch Forum
Topic: Creating a text-based adventure game
Replies: 4
Views: 4574

Creating a text-based adventure game

Hello all! I am new to these forums, and I thought this would be a great introduction for both parties. I am creating a text-based adventure game as a .bat file, just for fun, and would like to share. I am looking for constructive criticism and advice, as I hope that this little project gives me a m...