Thanks All for your recommendations. Ive now begin entering Jake In the Cave but may also follow with HAL at a later time. Jake in the Cave is fairly lengthy at @ 500 lines or so. A good bit longer than Spaceman so will keep me busy for a few weeks by the time i debug and study the code. I'm already finding it a little easier to read but there's still so much I don't understand. I did not realize you could string GOSUB lines eg GOSUB 1560,2580,3410. Every day is a learning day
I did not realize you could string GOSUB lines eg GOSUB 1560,2580,3410. Every day is a learning day
Oh, neither did I! You learn something new even after 30 years .
Really? What does it do? Call all the listed lines?
This could have been the breakthrough of the year, but no, only the first one will be called. We're probably talking about ON...GOSUB here.
340 ON K GOSUB 2600,2880,3170,3440,3720,4010
K is a variable that holds the level. If K equals 1, it will GOSUB 2600. If K equals 2, it will GOSUB 2880. You'll get the point. Listings from MSX Computer Magazine usually were formatted before publication, which makes them so much more readable. And if you use their ICP program, you'll catch typos on the fly. Checksums are printed with each line of the listing.
Only one thing to spoil the fun. The game isn't 100% Basic. There's some assembly handling the game essentials. This is great for gameplay. Not so great for learning Basic.
Sooner or later you will find out that the only way to go into smooth territory asm becomes a must. I started building a platformer in basic first and quickly learned that some things are simply not doable. However there are some basic interpreters that can do alot really alot. I believe (correct me if i am wrong kai) kai magazine uses such interpreters.
Kai ?Is it in the internet archive ?
Nope. Kai Magazine is a Spanish game developer. All of his games have been made in Basic using the Basic Kun compiler. His latest game is Metal Dragon.
First learn to walk, before you learn to run.