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/04/14 06:09] – external edit (Unknown date) 127.0.0.1 | sd:write_your_own_adventure_games_in_basic [2026/05/02 17:58] (current) – appledog | ||
|---|---|---|---|
| Line 74: | Line 74: | ||
| * F is for fridge. | * F is for fridge. | ||
| - | This will do for our example game. In a real game, we might use many dozens of variables. | + | This will do for our example game. In a real game, we might use many dozens of variables. The G/F/W is for an in-game puzzle. Before you can get to the treasure you have to take the water from the fridge and throw it on the floor so the ghost can't get you. Something like that. |
| In Stellar Basic, uninitialized variables return zero, so we do not need to initialize them in a technical sense. But declaring them at the start of a program is good practice so you know which variables will be used in your program. Do not overlook this discipline of programming because it appears simple. | In Stellar Basic, uninitialized variables return zero, so we do not need to initialize them in a technical sense. But declaring them at the start of a program is good practice so you know which variables will be used in your program. Do not overlook this discipline of programming because it appears simple. | ||
| Line 583: | Line 583: | ||
| 5300 PRINT " | 5300 PRINT " | ||
| 5310 PRINT " | 5310 PRINT " | ||
| + | |||
| + | //more to come// | ||
| + | |||
| + | //May 2026 update: I'm still here! I've been working on the PPU and ASU units, i.e. graphics and sound, and have left this on the back burner for now. I'll return to finish this likely in June. Stay tuned!// | ||
sd/write_your_own_adventure_games_in_basic.1776146946.txt.gz · Last modified: by 127.0.0.1
