sd:write_your_own_adventure_games_in_basic
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| sd:write_your_own_adventure_games_in_basic [2026/03/29 16:25] – appledog | sd:write_your_own_adventure_games_in_basic [2026/03/29 16:31] (current) – appledog | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| <codify BASIC> | <codify BASIC> | ||
| - | 100 PRINT " | + | 100 CLS |
| - | 110 PRINT "Would you like instructions (Y/N)? " | + | 110 PRINT " |
| - | 120 A = GETKEY() | + | 120 PRINT "Would you like instructions (Y/N)? " |
| - | 130 IF A = ASC(" | + | 130 LET A = GETKEY() |
| - | 140 IF A = ASC(" | + | 140 IF A = ASC(" |
| - | 150 IF A = ASC(" | + | 150 IF A = ASC(" |
| - | 160 IF A = ASC(" | + | 160 IF A = ASC(" |
| - | 170 GOTO 120 | + | 170 IF A = ASC(" |
| + | 180 GOTO 130 | ||
| 200 REM INSTRUCTOINS | 200 REM INSTRUCTOINS | ||
| Line 54: | 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 " | ||
| 1000 PRINT "" | 1000 PRINT "" | ||
| 1010 PRINT "As you round the bend, a long gravel" | 1010 PRINT "As you round the bend, a long gravel" | ||
| Line 76: | Line 78: | ||
| 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' | 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.txt · Last modified: by appledog
