User Tools

Site Tools


sd:write_your_own_adventure_games_in_basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sd:write_your_own_adventure_games_in_basic [2026/03/29 16:23] appledogsd: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 "CYOA" (choose your own adventure) style game. These are the easiest of all games to make, and if you start here with me, I will take you on a journey unlike any other. Let's begin in the grassy field -- a clearing, in a forest. It's a sunny day. Let's start small, with a typical "CYOA" (choose your own adventure) style game. These are the easiest of all games to make, and if you start here with me, I will take you on a journey unlike any other. Let's begin in the grassy field -- a clearing, in a forest. It's a sunny day.
  
-100 PRINT "Welcome to the Adventure!" +<codify BASIC> 
-110 PRINT "Would you like instructions (Y/N)? " +100 CLS 
-120 A = GETKEY() +110 PRINT "Welcome to the Adventure!" 
-130 IF A = ASC("Y") GOTO 200 +120 PRINT "Would you like instructions (Y/N)? " 
-140 IF A = ASC("y") GOTO 200 +130 LET A = GETKEY() 
-150 IF A = ASC("N") GOTO 500 +140 IF A = ASC("Y"THEN GOTO 200 
-160 IF A = ASC("n") GOTO 500 +150 IF A = ASC("y"THEN GOTO 200 
-170 GOTO 120 +160 IF A = ASC("N"THEN GOTO 500 
 +170 IF A = ASC("n"THEN GOTO 500 
 +180 GOTO 130 
  
 200 REM INSTRUCTOINS 200 REM INSTRUCTOINS
Line 53: Line 55:
 450 PRINT "expecting you..." 450 PRINT "expecting you..."
 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 "country road, enjoying a stress-free" +520 PRINT "You are on a peaceful hike along an old" 
-530 PRINT "weekend escape from the city. The day" +530 PRINT "country road, enjoying a stress-free" 
-540 PRINT "started bright and sunny, but a large" +540 PRINT "weekend escape from the city. The day" 
-550 PRINT "cloud has drifted overhead, offering" +550 PRINT "started bright and sunny, but a large" 
-560 PRINT "welcome shade." +560 PRINT "cloud has drifted overhead, offering" 
-570 PRINT "" +570 PRINT "welcome shade." 
-1000 PRINT "As you round the bend, a long gravel" +1000 PRINT "" 
-1010 PRINT "driveway with a white picket fence" +1010 PRINT "As you round the bend, a long gravel" 
-1020 PRINT "and a field on the left winds westward" +1020 PRINT "driveway with a white picket fence" 
-1030 PRINT "towards a barn and an old one-story" +1030 PRINT "and a field on the left winds westward" 
-1040 PRINT "farmhouse. Its paint is faded, but it" +1040 PRINT "towards a barn and an old one-story" 
-1050 PRINT "has the comfortable look of a long-" +1050 PRINT "farmhouse. Its paint is faded, but it" 
-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." 
 +</codify>
  
 +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's experience of the game.
 +
 +under construction!
sd/write_your_own_adventure_games_in_basic.1774801404.txt.gz · Last modified: by appledog

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki