Top
Best
New

Posted by ibobev 4 hours ago

C64 Basic Dungeon Crawler: Stairs, Levels and Levelling Up (Part 11)(retrogamecoders.com)
26 points | 8 comments
leoc 1 hour ago|
A period, multiplatform alternative: Usborne's Write Your Own Fantasy Games by Les Howarth and Cheryl Evans from 1984 https://drive.google.com/file/d/0Bxv0SsvibDMTel93SThEYkJkZHc . (Generously provided by Usborne https://usborne.com/gb/books/computer-and-coding-books )
the_af 55 minutes ago|
Cool! Though your Google Drive link asks for permissions, you can use this instead: https://usborne.com/row/books/computer-and-coding-books

The review of the book isn't so good, though I'd still own it as a charming period artifact: https://gmkeros.wordpress.com/2024/01/19/write-your-own-fant...

Dungeon Crawlers for the C64 always make me think of the Sword of Fargoal! https://www.lemon64.com/game/sword-of-fargoal

classichasclass 2 hours ago|
For those as confused as I was, the BASIC as written will not run on a C64 (two immediate notes: BASIC 2.0 doesn't have labels, and a variable like STATS would be illegal because it clashes with the status word ST). This only works in their custom IDE which "compiles" (read "adds line numbers, alters names and tokenizes") it.
krige 2 hours ago||
Yeah seeing GOSUB and no line numbers was an instant warning light.
sedatk 18 minutes ago||
I had briefly thought that C64 could use variables with GOTO/GOSUB. Sinclair BASIC could do that for example.
sbuttgereit 2 hours ago|||
To be fair, this isn't that different from things we'd do back in the day.

I use to write BBS software in BASIC on the C64, and one of the things we'd do is use a "compiler" that would do some optimizations. What this allowed was being able to write a program too big to actually run, but the optimized version of it could.

I wish I could share more details and be less hand-wavy... but it turns out the 80's were a long time ago and I just haven't given it much thought since then (at least until I saw your comment).

sedatk 13 minutes ago||
Computer magazines of the era also did that with C64 listings because they were such a pain to type as is. They usually distributed a tool to type your program in first, and then published much more legible and plain text (non-PETSCII) code listings instead.
harwoodr 1 hour ago||
RGC Basic: https://retrogamecoders.com/rgc-basic/

"Commodore BASIC–style interpreter written in C, but with modern conveniences."