sd:write_your_own_adventure_games_in_basic
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sd:write_your_own_adventure_games_in_basic [2026/03/29 16:23] – appledog | sd:write_your_own_adventure_games_in_basic [2026/03/29 16:31] (current) – appledog | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| Let's start small, with a typical " | Let's start small, with a typical " | ||
| - | 100 PRINT " | + | <codify BASIC> |
| - | 110 PRINT "Would you like instructions (Y/N)? " | + | 100 CLS |
| - | 120 A = GETKEY() | + | 110 PRINT " |
| - | 130 IF A = ASC(" | + | 120 PRINT "Would you like instructions (Y/N)? " |
| - | 140 IF A = ASC(" | + | 130 LET A = GETKEY() |
| - | 150 IF A = ASC(" | + | 140 IF A = ASC(" |
| - | 160 IF A = ASC(" | + | 150 IF A = ASC(" |
| - | 170 GOTO 120 | + | 160 IF A = ASC(" |
| + | 170 IF A = ASC(" | ||
| + | 180 GOTO 130 | ||
| 200 REM INSTRUCTOINS | 200 REM INSTRUCTOINS | ||
| Line 53: | Line 55: | ||
| 450 PRINT " | 450 PRINT " | ||
| 460 PRINT "" | 460 PRINT "" | ||
| - | 470 PRINT "" | + | 470 INPUT "Press ENTER to continue:", A$ |
| - | 500 PRINT "Rural Route Bend" | + | 500 CLS |
| - | 510 PRINT "You are on a peaceful hike along an old" | + | 510 PRINT "Rural Route Bend" |
| - | 520 PRINT " | + | 520 PRINT "You are on a peaceful hike along an old" |
| - | 530 PRINT " | + | 530 PRINT " |
| - | 540 PRINT " | + | 540 PRINT " |
| - | 550 PRINT "cloud has drifted overhead, offering" | + | 550 PRINT " |
| - | 560 PRINT " | + | 560 PRINT "cloud has drifted overhead, offering" |
| - | 570 PRINT "" | + | 570 PRINT " |
| - | 1000 PRINT "As you round the bend, a long gravel" | + | 1000 PRINT "" |
| - | 1010 PRINT " | + | 1010 PRINT "As you round the bend, a long gravel" |
| - | 1020 PRINT "and a field on the left winds westward" | + | 1020 PRINT " |
| - | 1030 PRINT " | + | 1030 PRINT "and a field on the left winds westward" |
| - | 1040 PRINT " | + | 1040 PRINT " |
| - | 1050 PRINT "has the comfortable look of a long-" | + | 1050 PRINT " |
| - | 1060 PRINT "loved family home." | + | 1060 PRINT "has the comfortable look of a long-" |
| - | 1070 PRINT "It appears to be abandoned." | + | 1070 PRINT "loved family home." |
| + | 1080 PRINT "It appears to be abandoned." | ||
| + | </ | ||
| + | This is the start of our game. Although it may seem like nothing special is going on here, this is the most important part of the story. A good start will increase the player' | ||
| + | |||
| + | under construction! | ||
sd/write_your_own_adventure_games_in_basic.1774801404.txt.gz · Last modified: by appledog
