Robuck
Experienced Member
Hi, I'm trying to code a roguelike engine on my apple iie in applesoft basic with beagle bros program writer and compiler. My current hurdle is figuring out how to store and load maps. Currently, my program uses string arrays as maps, but it takes a lot of space in my program if I code them directly into the main .bas file. I'd like to use separate .bas files that are executed by the main program, which load map data into an array, and then return to the main file. This way hopefully in the future I can write a map maker program that allows the user to make and save map files.
I've tried all of the commands I could find (load/run, store/restore, exec, etc) but I haven't been able to get any of them to work. Are any of you aware of a guide that can help me? Or a simple solution to this problem? I would even settle for a good example of the correct syntax used for these commands. Any advice is appreciated.
I've tried all of the commands I could find (load/run, store/restore, exec, etc) but I haven't been able to get any of them to work. Are any of you aware of a guide that can help me? Or a simple solution to this problem? I would even settle for a good example of the correct syntax used for these commands. Any advice is appreciated.