Platformer Suggestions ?

Page 2/2
1 |

By Hit-Biter

Master (166)

Hit-Biter's picture

09-09-2022, 20:18

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 Big smile

By Grauw

Ascended (10683)

Grauw's picture

10-09-2022, 00:02

Hit-Biter wrote:

I did not realize you could string GOSUB lines eg GOSUB 1560,2580,3410. Every day is a learning day Big smile

Oh, neither did I! You learn something new even after 30 years Smile.

By Manuel

Ascended (19227)

Manuel's picture

10-09-2022, 12:06

Really? What does it do? Call all the listed lines?

By Briqunullus

Hero (618)

Briqunullus's picture

10-09-2022, 12:57

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.

By Briqunullus

Hero (618)

Briqunullus's picture

10-09-2022, 21:58

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.

By Daemos

Paragon (2028)

Daemos's picture

10-09-2022, 22:41

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.

By Hit-Biter

Master (166)

Hit-Biter's picture

11-09-2022, 00:00

Kai ?Is it in the internet archive ?

By Briqunullus

Hero (618)

Briqunullus's picture

11-09-2022, 08:32

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.

Page 2/2
1 |